/* =====================================================================
   aeps â€” home.css
   Homepage-specific styling only. Desktop / base layout.
   (Responsive overrides live in media.css.)
   ===================================================================== */

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero-section {
	position: relative;
	background-color: #e9eaec;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	min-height: 600px;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.5);
}

.hero-inner {
	position: relative;
	z-index: 2;
	padding-top: 300px;
	padding-bottom: 60px;
}

.hero-content {
	max-width: 700px;
}

.hero-title {
	font-size: var(--h1-size);
	font-weight: 700;
	color: #fff;
	margin-bottom: 1.25rem;
}

.hero-text {
	font-size: 1.2rem;
	max-width: 80%;
	margin-bottom: 2rem;
	color: #fff;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 3.25rem;
}

/* Hero feature row */
.hero-features {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
}

.hero-feature {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hero-feature .icon {
	color: var(--primary-color);
	font-size: 1.6rem;
}

.hero-feature .feature-label {
	font-family: var(--font-primary);
	font-weight: 700;
	font-size: 0.95rem;
	color: #fff;
	line-height: 1.2;
}


.hero-content .eyebrow {
	padding-right: 50px;
}

/* ---------------------------------------------------------------
   Service highlights (Residential / Commercial)
   --------------------------------------------------------------- */
.highlights-section {
	background-color: var(--bg-light);
	padding: 60px 0;
}

.highlight-item {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
}

.highlight-item .icon {
	color: var(--primary-color);
	height: 110px;
	flex: 0 0 auto;
}

.highlight-item .icon svg {
	height: 100%;
}


.highlight-item h3 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

.highlight-item p {
	margin: 0;
}

/* ---------------------------------------------------------------
   About
   --------------------------------------------------------------- */
.about-section {
	padding: var(--section-spacing) 0;
}

.about-media {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
}

.about-media img {
	width: 100%;
	border-radius: var(--radius-md);
	display: block;
	object-fit: cover;
	height: 355px;
}

.about-badge {
	position: absolute;
	left: 12px;
	bottom: 28px;
	background-color: #fff;
	border-radius: var(--radius-md);
	padding: 1rem 1.5rem 1rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	box-shadow: var(--shadow-md);
}

.about-badge .icon {
	background: var(--primary-dark);
	height: 65px;
	width: 65px;
}

.about-badge .badge-label {
	font-size: 0.7rem;
	letter-spacing: 0.5px;
	display: block;
	opacity: 0.9;
	color: var(--text-color);
}

.about-badge .badge-value {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.4rem;
	line-height: 1;
	color: #000;
}

.about-content h2 {
	margin-bottom: 1.25rem;
}

.about-list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
}

.about-list li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.75rem;
	color: var(--text-color);
}

.about-list li::before {
	content: "â€“";
	position: absolute;
	left: 0;
	color: var(--primary-color);
	font-weight: 700;
}

/* ---------------------------------------------------------------
   Services carousel
   --------------------------------------------------------------- */
.services-section {
	background-color: var(--bg-light);
	padding: var(--section-spacing) 0 70px;
}

.services-section .section-title {
	text-align: center;
	margin-bottom: 3rem;
}

.service-card {
	background-color: var(--white);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	padding: 2.5rem 3rem 5rem 2rem;
	height: 100%;
}

.service-card .icon-circle {
	margin-bottom: 1.75rem;
	padding: 12px;
}

.service-card h3 {
	color: var(--primary-color);
	font-size: 1.3rem;
	margin-bottom: 1rem;
}

.service-card p {
	margin-bottom: 1.5rem;
}

.service-card .icon-circle img {
	filter: invert(1);
	padding: 2px;
}

/* ---------------------------------------------------------------
   Before after section
   --------------------------------------------------------------- */
.before-after-section {
	padding: var(--section-spacing) 0;
	background-color: var(--bg-light);
	padding-top: 0;
}

.before-after-section .section-heading {
	max-width: 720px;
	margin-inline: auto;
}

.before-after-grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1.5rem;
}

.ba-card {
	position: relative;
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background-color: var(--white);
	box-shadow: var(--shadow-md);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ba-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.ba-media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
}

.ba-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.ba-card:hover .ba-media img {
	transform: scale(1.04);
}

/* Corner label */
.ba-tag {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 1rem;
	font-family: var(--font-heading);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--white);
	border-radius: var(--radius-pill);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.ba-tag--before {
	background-color: var(--secondary-color);
}

.ba-tag--after {
	background-color: var(--primary-color);
}

/* Center arrow divider */
.ba-divider {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background-color: var(--primary-color);
	color: var(--white);
	font-size: 1.4rem;
	box-shadow: 0 8px 24px rgba(191, 36, 39, 0.35);
	flex-shrink: 0;
}

@media (max-width: 767.98px) {
	.before-after-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.ba-divider {
		transform: rotate(90deg);
		margin: 0 auto;
	}

	.ba-media {
		aspect-ratio: 16 / 9;
	}

	.before-after-grid {
		gap: 0.5rem;
	}

	.ba-divider {
		width: 44px;
		height: 44px;
		font-size: 0.9rem;
	}
}

/* ---------------------------------------------------------------
   Projects gallery (dark band)
   --------------------------------------------------------------- */
.projects-section {
	background-color: var(--bg-dark);
	padding: 70px 0 60px;
}

.projects-section .section-title {
	color: var(--white);
	text-align: center;
	max-width: 760px;
	margin: 0 auto 3rem;
}

.projects-gallery {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.25rem;
}

.project-thumb {
	border-radius: var(--radius-md);
	overflow: hidden;
}

.project-thumb img {
	width: 100%;
	height: 375px;
	object-fit: cover;
	display: block;
}

.projects-gallery.swiper {
	display: block;
}

.projects-progress.swiper-pagination-progressbar {
	position: relative;
	width: 180px;
	height: 5px;
	margin: 2.5rem auto 0;
	border-radius: 5px;
	background-color: rgba(255, 255, 255, 0.25);
	overflow: hidden;
}

.projects-progress .swiper-pagination-progressbar-fill {
	background-color: var(--accent-color);
}


/* Swiper scrollbar: gray pill track with an orange pill thumb. */
.projects-progress {
	position: relative;
	width: min(230px, 70%);
	height: 6px;
	margin: 2.5rem auto 0;
	border-radius: 50rem;
	background-color: rgba(255, 255, 255, 0.14);
	cursor: grab;
}

.projects-progress .swiper-scrollbar-drag {
	height: 100%;
	border-radius: 50rem;
	background-color: var(--accent-color);
	transition: background-color 0.25s ease;
}

.projects-progress .swiper-scrollbar-drag:active {
	cursor: grabbing;
	background-color: var(--primary-color);
}

/* ---------------------------------------------------------------
   Features (white rounded card over dark)
   --------------------------------------------------------------- */
.features-section {
	position: relative;
}

.features-section::before {
	content: '';
	position: absolute;
	width: 100%;
	background: var(--bg-dark);
	z-index: -1;
	height: 60%;
}

.features-card {
	background-color: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: 3.5rem 3rem;
	margin-top: -10px;
	position: relative;
}

.features-card .section-title {
	text-align: center;
	margin-bottom: 3rem;
}

.feature-block {
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 2.25rem 1.75rem;
	height: 100%;
}

.feature-block .icon-rounded {
	margin-bottom: 1.5rem;
	padding: 12px;
}

.feature-block h3 {
	font-size: 1.75rem;
	margin-bottom: 0.85rem;
}

.feature-block p {
	margin-bottom: 1.25rem;
}

/* ---------------------------------------------------------------
   How To Get Our Service (steps)
   --------------------------------------------------------------- */
.steps-section {
	background-color: var(--bg-light);
	padding: var(--section-spacing) 0;
	margin-top: -16rem;
	padding-top: 20rem;
}

.steps-section .section-heading {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 3rem;
}

.step-card {
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 2.25rem 1.75rem;
	height: 100%;
}

.step-card .icon-soft {
	margin-bottom: 1.5rem;
}

.step-card .step-label {
	font-family: 'Work Sans', var(--font-heading);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--text-color);
	display: block;
	margin-bottom: 0.5rem;
}

.step-card h3 {
	color: var(--primary-color);
	font-size: 1.75rem;
	margin-bottom: 0.85rem;
}

.step-card p {
	margin: 0;
}

.steps-cta {
	text-align: center;
	margin-top: 3rem;
}

/* ---------------------------------------------------------------
   Stats / CTA band (red) + overlapping electrician image
   --------------------------------------------------------------- */
.stats-section {
	background-color: var(--primary-color);
	color: var(--white);
	padding: var(--section-spacing) 0 0;
	position: relative;
}

.stats-content h2 {
	color: var(--white);
	margin-bottom: 1.5rem;
}

.stats-content p {
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 1.5rem;
}

.stats-list {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}

.stats-list li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-family: var(--font-heading);
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 0.6rem;
}

.stats-list li .icon {
	color: var(--accent-color);
}

.stats-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 75px;
}

.stat-card {
	background-color: var(--white);
	border-radius: var(--radius-md);
	padding: 3rem 2rem;
	text-align: center;
}

.stat-card .stat-value {
	font-family: 'Titillium Web', var(--font-heading);
	font-weight: 700;
	font-size: 56px;
	line-height: 1;
	margin-bottom: 0.5rem;
	-webkit-text-stroke-width: 1.18px;
	-webkit-text-stroke-color: var(--primary-color);
}

.stat-card .stat-label {
	font-family: var(--font-primary);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--heading-color);
}

.stats-medallion {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background-color: var(--white);
	color: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	box-shadow: var(--shadow-md);
	z-index: 2;
	padding: 12px;
}

.stats-electrician {
	margin-top: 25rem;
	background-color: var(--white);
	padding-top: 0;
	margin-bottom: -14rem;
}

.stats-electrician .electrician-img {
	border-radius: var(--radius-lg);
	overflow: hidden;
	transform: translateY(-17rem);
	box-shadow: var(--shadow-lg);
}

.stats-electrician .electrician-img img {
	width: 100%;
	object-fit: cover;
	display: block;
}

/* ---------------------------------------------------------------
   Featured Product (Hydropak Xtra)
   --------------------------------------------------------------- */
.product-section {
	padding: 30px 0 var(--section-spacing);
	position: relative;
	background-color: #fff;
}

.product-section .row {
	--bs-gutter-x: 4rem;
}

@media (max-width: 991.98px) {
	.product-section .row {
		row-gap: 2rem;
	}
}

.product-content .eyebrow {
	color: var(--primary-color);
}

.product-content h2 {
	margin-bottom: 0.5rem;
}

.product-content h2 .accent {
	color: var(--primary-color);
}

.product-content .product-tagline {
	font-family: var(--font-heading);
	font-weight: 600;
	color: var(--heading-color);
	font-size: 1.05rem;
	margin-bottom: 1rem;
}

.product-content p {
	margin-bottom: 1.75rem;
}

.product-actions {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.product-warranty {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.product-warranty .warranty-circle {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background-color: #0d1b3e;
	color: var(--white);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1;
}

.product-warranty .warranty-circle .num {
	font-size: 1.1rem;
}

.product-warranty .warranty-circle .yr {
	font-size: 0.42rem;
	letter-spacing: 0.5px;
}

.product-warranty .warranty-text {
	line-height: 1.25;
}

.product-warranty .warranty-text strong {
	font-family: var(--font-heading);
	color: var(--heading-color);
	display: block;
	font-size: 0.95rem;
}

.product-warranty .warranty-text span {
	font-size: 0.78rem;
	color: var(--text-color);
}

.product-media {
	position: relative;
	background-color: #d8dde1;
	border-radius: var(--radius-md);
	overflow: hidden;
}

.product-media img {
	width: 100%;
	display: block;
}

.product-dimensions {
	font-family: var(--font-heading);
	position: absolute;
	top: 14px;
	left: 14px;
	background-color: rgba(20, 20, 20, 0.8);
	color: var(--white);
	font-size: 1rem;
	letter-spacing: 0.5px;
	padding: 0.3rem 0.7rem;
	border-radius: 4px;
	display: none;
	
	

	.dimensions {
		color: #FFB3B4;
	}
}

/* ---------------------------------------------------------------
   Expert CTA band
   --------------------------------------------------------------- */
.expert-section {
	padding: 0 0 var(--section-spacing);
}

.expert-band {
	background-color: var(--primary-color);
	border-radius: var(--radius-md);
	padding: 2.75rem 3rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.expert-band h2 {
	color: var(--white);
	font-size: 1.9rem;
	margin-bottom: 0.5rem;
}

.expert-band p {
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
}

.expert-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.expert-actions a.btn-aeps-white {
	color: var(--primary-color);
}

/* ---------------------------------------------------------------
   Reviews
   --------------------------------------------------------------- */
.reviews-section {
	padding: 0 0 var(--section-spacing);
}

.reviews-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2.5rem;
}

.reviews-header h2 {
	margin: 0;
}

.review-card {
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 2rem;
	height: 100%;
	box-shadow: var(--shadow-sm);
}

.review-card .review-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 1.25rem;
}

.review-card .reviewer-name {
	color: var(--primary-color);
	font-size: 1.15rem;
	margin: 0 0 0.15rem;
}

.review-card .reviewer-role {
	font-size: 0.85rem;
	color: var(--text-color);
}

.review-card p {
	margin: 0;
}

.review-card .review-text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	overflow: hidden;
}

.review-card .review-text.is-expanded {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.review-card .review-toggle {
	display: inline-block;
	margin-top: 0.75rem;
	padding: 0;
	background: none;
	border: none;
	color: var(--primary-color);
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
}

.review-card .review-toggle[hidden] {
	display: none;
}

/* ---------------------------------------------------------------
   FAQ
   --------------------------------------------------------------- */
.faq-section {
	padding: 0 0 var(--section-spacing);
}

.faq-section .section-title {
	text-align: center;
	margin-bottom: 3rem;
}

.faq-accordion .accordion-item {
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm) !important;
	margin-bottom: 1rem;
	overflow: hidden;
}

.faq-accordion .accordion-button {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: var(--h3-size);
	color: var(--heading-color);
	padding: 1.25rem 1.5rem;
	background-color: var(--white);
	box-shadow: none;
	gap: 1rem;
	align-items: center;
}

.faq-accordion .accordion-button:not(.collapsed) {
	color: var(--heading-color);
	background-color: var(--white);
}

.faq-accordion .accordion-button:focus {
	box-shadow: none;
	border-color: transparent;
}

.faq-q-num {
	color: var(--primary-color);
	font-weight: 700;
	font-family: var(--font-heading);
}

.faq-accordion .accordion-button::after {
	background-image: none;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f078";
	/* chevron-down */
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: #f3f3f3;
	color: var(--text-color);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
	content: "\f077";
	/* chevron-up */
	background-color: var(--primary-color);
	color: var(--white);
	transform: none;
}

.faq-accordion .accordion-body {
	padding: 0 1.5rem 1.5rem;
	font-size: 0.95rem;
	color: var(--text-color);
}

.faq-accordion .accordion-body a {
	color: var(--primary-color);
	font-weight: 600;
}

/* ---------------------------------------------------------------
   Blog
   --------------------------------------------------------------- */
.blog-section {
	padding: 0 0 var(--section-spacing);
	display: none;
}

.blog-section .section-title {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 3rem;
}

.blog-card {
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	overflow: hidden;
	height: 100%;
}

.blog-media {
	position: relative;
	display: block;
}

.blog-media img {
	width: 100%;
	height: 230px;
	object-fit: cover;
	display: block;
}

.blog-date {
	position: absolute;
	top: 14px;
	right: 14px;
	background-color: var(--accent-color);
	color: var(--white);
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 0.35rem 0.7rem;
	border-radius: 4px;
	text-align: center;
	line-height: 1.1;
}

.blog-body {
	padding: 1.5rem;
}

.blog-meta {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 0.85rem;
	margin-bottom: 1rem;
	font-size: 0.8rem;
	color: var(--text-color);
}

.blog-meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.blog-meta .icon {
	color: var(--primary-color);
}

.blog-card h3 {
	color: var(--primary-color);
	font-size: 1.15rem;
	margin-bottom: 0.75rem;
}

.blog-card p {
	margin-bottom: 1.25rem;
}

@media (max-width: 1499.98px) {
    .before-after-grid {
    padding: 0px 14%;
}
}
@media (max-width: 767px){
    .before-after-grid {
    padding: 0px 0%;
}
}