/* ------------------------------- */
/* BASE CARD STYLE WITH ZOOM */
/* ------------------------------- */

.netpear-flip-card {
	height: 483px;
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 6px;
	border-bottom: 6px solid #36d38b;
}

@media(max-width: 768px) {
	.netpear-flip-card {
		height: 280px !important;
	}
}

.netpear-flip-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.netpear-flip-card:hover img {
	transform: scale(1.08);
}
.netpear-flip-card .front-title h3 {
 font-size: 1.4rem;
}

.netpear-flip-card .front-title {
	position: absolute;
	bottom: 0px;
	left: 20px;
	right: 20px;
	color: #36d38b;
	padding: 10px 10px 0px 10px;
	z-index: 3;
}

.netpear-flip-back {
	display: none !important;
}

.netpear-flip-inner {
	height: 100%;
	width: 100%;
}

/* ------------------------------- */
/* WRAPPER LAYOUT (DESKTOP) */
/* ------------------------------- */

#np-portfolio-wrapper {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	visibility: hidden;
	/* prevented layout jump */
}

#np-portfolio-wrapper.np-ready {
	visibility: visible;
}

/* Block */
.np-block {
	display: block;
}

/* First full-width feature */
.np-full {
	width: 100%;
}

/* Perfect 5 & 7 widths (desktop only) */
.np-col-5 {
	flex: 0 0 calc(41.666% - 12.5px);
}

.np-col-7 {
	flex: 0 0 calc(58.333% - 12.5px);
}

/* ------------------------------- */
/* TRUE 3×3 GRID GROUP (ALWAYS 3 COLUMNS) */
/* ------------------------------- */

.porto-logo-grid {
	width: 100%;
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 25px !important;
}

.porto-logo-grid .np-block {
	width: 100% !important;
	flex: none !important;
	/* Prevent flex behavior */
}

.porto-logo-grid .netpear-flip-card {
	height: 317px !important;
}

.porto-logo-grid .netpear-flip-card img {
	height: 313px !important;
	object-fit: cover;
}

/* ------------------------------- */
/* np-hidden behavior */
/* ------------------------------- */

.np-hidden {
	display: none !important;
	opacity: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* ------------------------------- */
/* LOAD MORE BUTTON */
/* ------------------------------- */

.np-load-more-wrap {
	text-align: center;
	margin-top: 48px !important;
	margin-bottom: 54px;
}

.np-load-more-btn {
	background: #319969;
	color: #fff;
	padding: 12px 40px;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	border: none;
}

.np-load-more-btn:hover {
	opacity: .85;
}

/* ------------------------------- */
/* MOBILE / TABLET BREAKPOINT */
/* EVERYTHING FULL WIDTH EXCEPT 3×3 GRID */
/* ------------------------------- */

@media (max-width: 1400px) {

	/* Make normal blocks full width */
	.np-full,
	.np-col-5,
	.np-col-7 {
		width: 100% !important;
		flex: 0 0 100% !important;
	}

	/* Make 3×3 grid TEMPORARILY full width on mobile/tablet */
	.porto-logo-grid {
		grid-template-columns: repeat(1, 1fr) !important;
		display: grid !important;
		width: 100% !important;
	}

	/* Children also full width */
	.porto-logo-grid .np-block {
		width: 100% !important;
		flex: none !important;
	}

	.netpear-flip-card {
		height: 280px !important;
	}

	#np-portfolio-wrapper {
		gap: 15px;
	}
}

/* FORCE grid hidden before ready */
#np-portfolio-wrapper {
	visibility: hidden !important;
	opacity: 0 !important;
}

/* When JS activates */
#np-portfolio-wrapper.np-ready {
	visibility: visible !important;
	opacity: 1 !important;
}

#np-portfolio-wrapper {

	padding-top: 50px;
}

/* ------------------------------- */
/* BEAUTIFUL LARGE LOADING INDICATOR */
/* ------------------------------- */

#np-portfolio-loader {
	width: 100%;
	padding: 100px 0;
	/* taller for stronger presence */
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.np-spinner {
	width: 60px;
	/* bigger */
	height: 60px;
	/* bigger */
	border: 6px solid #36d38b;
	/* thicker border */
	border-top-color: transparent;
	border-radius: 50%;
	animation: np-spin 0.8s linear infinite;
	opacity: 0.9;
}

@keyframes np-spin {
	to {
		transform: rotate(360deg);
	}
}

/* hide loader after ready */
#np-portfolio-loader.np-hide {
	display: none !important;
}


/* ensure wrapper hidden until ready */
#np-portfolio-wrapper {
	visibility: hidden !important;
	opacity: 0 !important;
}

#np-portfolio-wrapper.np-ready {
	visibility: visible !important;
	opacity: 1 !important;
	transition: opacity .3s ease;
}

/* Yellow corner box */
.np-arrow-square {
	position: absolute;
	bottom: 17px;
	right: 16px;
	width: 37px;
	height: 37px;
	background: #36d38b;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 20;
	pointer-events: none;
	color: #ffff;
}

/* Arrow rotated toward the corner */
.np-arrow-square::before {
	content: "";
	width: 16px;
	height: 16px;
	border-right: 4px solid #ffffff;
	border-bottom: 4px solid #ffffff;

	/* THIS is the correction: rotate more toward the corner */
	transform: rotate(-7deg);
}

@media (min-width: 769px) {
	#np-portfolio-wrapper .np-block.np-full:first-child .netpear-flip-card {
		height: 485px !important;
	}
}

.np-featuredinner {
	padding-top: 40px;
}


/* Section Title */
.np-sec-title {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #0b0b0b;
	text-align: center;
}

/* Line under title */
.np-sec-line {
	width: 70px;
	height: 4px;
	background: #36d38b;
	margin: 0 auto 30px auto;
	border-radius: 3px;
}

/* Info Boxes */
.np-info-box {
	background: #f9f9f9;
	border-radius: 8px;
	padding: 25px;
	border-left: 5px solid #36d38b;
	height: 100%;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.np-info-box h3 {
	font-size: 22px;
	margin-bottom: 15px;
	font-weight: 600;
	color: #0b0b0b;
}

.np-info-box ul {
	margin: 0;
	padding-left: 20px;
}

.np-info-box ul li {
	margin-bottom: 8px;
	color: #333;
	line-height: 1.4;
	font-size: 1rem;
}

/* Mobile spacing */
@media(max-width: 768px) {
	.np-sec-title {
		font-size: 28px;
	}

	.np-info-box {
		padding: 20px;
	}
}


.stats-section {
	padding: 40px 0;
}

.row.stats-section>.col-md-3 {
	flex: 0 0 calc(25% - 20px) !important;
}

/* Fix spacing in the stats row */
.row.stats-section {
	margin-right: 0 !important;
	margin-left: 0 !important;
	--bs-gutter-x: 0;
	display: flex !important;
	flex-wrap: wrap;
	gap: 20px;
	/* spacing between cards */
	margin-bottom: 0;
	padding-bottom: 0;
	margin-top: 1rem !important;
}

.

/* Desktop: 4 columns */
@media (min-width: 992px) {
	.row.stats-section>.col-md-3 {
		flex: 0 0 calc(25% - 20px) !important;
	}
}

/* Mobile / Tablet: Full width */
@media (max-width: 991px) {
	.row.stats-section>.col-md-3 {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
}


/* Keep your card styling exactly the same */
.stats-section .col-md-3 {
	background: #ffffff;
	border-radius: 14px;
	padding: 25px 17px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
	transition: all 0.25s ease;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hover effect */
.stats-section .col-md-3:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.10);
	border-color: rgba(0, 0, 0, 0.15);
}

/* Typography */
.stats-section h4 {
	font-weight: 600;
	font-size: 20px;
	margin-bottom: 8px;
}

.stats-section p {
	font-size: 15px;
	color: #555;
	margin: 0;
}


/* Base card styling upgrade (keeps your existing styling + adds polish) */
.np-info-box {
	transition: all 0.28s ease;
	transform: translateY(0);
}

/* Hover lift effect */
.np-info-box:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.np-info-box {
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.np-info-box:hover {
	border-color: rgba(0, 0, 0, 0.18);
}

/* --------------------------------------- */
/* PROCESS LIST (numbered steps)           */
/* --------------------------------------- */
.np-process-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.np-process-list li {
	margin-bottom: 14px;
	padding-left: 32px;
	position: relative;
	color: #333;
	line-height: 1.5;
}

.np-process-list li strong {
	color: #0b0b0b;
}

/* Number circle */
.np-process-list li::before {
	content: counter(step-counter);
	counter-increment: step-counter;
	position: absolute;
	left: 0;
	top: 2px;
	width: 22px;
	height: 22px;
	background: #36d38b;
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.np-process-list {
	counter-reset: step-counter;
}

/* --------------------------------------- */
/* BULLET LISTS (design & future sections) */
/* --------------------------------------- */
.np-bullet-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.np-bullet-list li {
	margin-bottom: 10px;
	padding-left: 18px;
	position: relative;
	color: #333;
	line-height: 1.5;
}

/* Custom green bullet */
.np-bullet-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 8px;
	height: 8px;
	background: #36d38b;
	border-radius: 50%;
}

/* --------------------------------------- */
/* RESULTS PILL BOXES                      */
/* --------------------------------------- */
.np-result-pill {
	background: #ffffff;
	border-radius: 10px;
	padding: 22px;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
	border-left: 5px solid #36d38b;
	height: 100%;
	transition: 0.25s ease;
}

/* Hover effect */
.np-result-pill:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.np-result-pill h4 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #0b0b0b;
}

.np-result-pill p {
	font-size: 15px;
	color: #555;
	margin: 0;
}

/* --------------------------------------- */
/* FUTURE IMPROVEMENT BOX                  */
/* --------------------------------------- */
.np-future-box {
	background: #f9f9f9;
	border-radius: 10px;
	padding: 30px;
	border-left: 5px solid #36d38b;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.np-future-box p {
	color: #333;
	line-height: 1.55;
	margin-bottom: 16px;
}

.np-future-box .np-bullet-list li strong {
	color: #0b0b0b;
}

/* Mobile tweaks */
@media (max-width: 768px) {
	.np-result-pill {
		padding: 18px;
	}

	.np-future-box {
		padding: 22px;
	}
}

/* Full-width showcase image */
.np-case-img-full {
	width: 100%;
	height: 516px;
	object-fit: fill;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transition: transform .3s ease, box-shadow .3s ease;
}
.single-netpear_portfolio .np-case-img-half {
	height: 100%;
}
/* Half images (side by side) */
.np-case-img-half {
	width: 100%;
	height: 300px;
	object-fit: fill;
	border-radius: 12px;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
	transition: transform .3s ease, box-shadow .3s ease;
}

/* Hover effects */
.np-case-img-full:hover,
.np-case-img-half:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Mobile optimisation */
@media(max-width: 768px) {
	.np-case-img-full {
		height: 260px;
	}

	.np-case-img-half {
		height: 200px;
	}
}

/* Wrapper */
.np-related-card {
	display: block;
	text-decoration: none;
	color: inherit;
	transition: .3s ease;
}

.np-related-card:hover {
	transform: translateY(-6px);
}

/* Image block */
.np-related-img {
	width: 100%;
	height: 260px;
	background-size: cover;
	background-position: center;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

/* Title */
.np-related-title {
	font-size: 18px;
	font-weight: 600;
	margin-top: 14px;
	text-align: center;
}

/* Button */
.np-related-btn {
	background: #36d38b;
	color: white;
	padding: 12px 32px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	display: inline-block;
	transition: .25s ease;
}

.np-related-btn:hover {
	opacity: .85;
}

/* Clean two-column future improvements layout */
.np-future-clean-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

/* LI wrapper */
.np-future-clean-list li {
	position: relative;
	padding-left: 28px;
	/* space for dot */
	margin-bottom: 28px;
	text-align: left;
}

/* Green dot */
.np-future-clean-list li::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 2px;
	width: 20px;
	height: 20px;
	background: #36d38b;
	border-radius: 50%;
}

/* Title (always on its own line) */
.np-future-title {
	font-size: 18px;
	font-weight: 700;
	color: #000;
	margin: 0 0 6px 0;
	line-height: 1.35;
}

/* Description underneath */
.np-future-desc {
	font-size: 16px;
	color: #555;
	line-height: 1.6;
	margin: 0;
}

/* Two-column divider (optional and cleaner) */
.np-future-split {
	position: relative;
}

.np-future-split::before {
	content: "";
	position: absolute;
	left: 50%;
	width: 1px;
	top: 0;
	height: 100%;
	background: rgba(0, 0, 0, 0.08);
	transform: translateX(-50%);
}

@media(max-width: 768px) {
	.np-future-split::before {
		display: none;
	}
}


#np-featuredinnerfour {

	background: #f4f4f4;

	padding-top: 70px;

	padding-bottom: 50px;
}

.similars h3 {
	padding-top: 40px;


}

.np-future-intro.text-center {
	margin-top: 0;
}

#np-resul {
	padding-top: 70px;
	background: #ffffff;
	padding-bottom: 50px;
}


.np-featuredinner {
	background: #ffffff;
	padding-top: 70px;
	padding-bottom: 50px;
}

.np-showimages {
	padding-top: 70px;
	padding-bottom: 50px;
}
}

.np-featuredinnerthree {

	padding-bottom: 40px;


}

.np-related-btn {
	border: 0
}

#np-social2 {

	/* background-color: #f4f4f4 !important; */
}


.np-showimages {

	background-color: #f4f4f4;
}

.np-force-show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.np-force-show.np-hidden {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
 
.np-project-disclaimer {
    margin: 25px auto;
    padding: 18px 22px;
    background: #f9fafb;
    border-left: 4px solid #d9534f; /* subtle red for notice */
    border-radius: 8px;
    font-size: 15.5px;
    color: #444;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-weight: 400;
}

.np-project-disclaimer strong {
    color: #d9534f;
    font-weight: 600;
}

.np-project-disclaimer a {
    color: #0073e6;
    text-decoration: none;
    font-weight: 500;
}

.np-project-disclaimer a:hover {
    text-decoration: underline;
}

