/*
Theme Name: EnvEngGroup
Theme URI: https://envenggroup.com/
Author: EnvEngGroup
Author URI: https://envenggroup.com/
Description: EnvEngGroup is a lightweight, Bootstrap-integrated custom WordPress starter theme built for scalable, developer-friendly projects.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: envenggroup
Tags: custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, translation-ready, blog, portfolio, business
*/

/* =============================================================================
   Theme Base Styles
   Minimal reset and typography — Bootstrap handles the heavy lifting.
   ============================================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
	margin: 0;
	padding: 0;
}

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

a {
	color: #0d6efd;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.mt-6 { margin-top: 4rem !important; }  /* 64px */
.mt-7 { margin-top: 5rem !important; }  /* 80px */
.mt-8 { margin-top: 6rem !important; }  /* 96px */

.mb-6 { margin-bottom: 4rem !important; }  /* 64px */
.mb-7 { margin-bottom: 5rem !important; }  /* 80px */
.mb-8 { margin-bottom: 6rem !important; }  /* 96px */

/* =============================================================================
   Layout
   ============================================================================= */
.container {
	width: 100%;
	max-width: 100%;
}
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-content {
	flex: 1 0 auto;
	padding: 20px 0;
}

/* =============================================================================
   Header
   ============================================================================= */

.site-header {
	background-color: #1a1a2e;
	padding: 1rem 0;
}

.site-header .navbar-brand {
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff !important;
	letter-spacing: 0.03em;
}

.site-header .nav-link {
	color: #1B250E;
	font-weight: 500;
	transition: color 0.2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
	color: #1B250E !important;
}

/* =============================================================================
   Footer — White → green gradient design
   ============================================================================= */

.site-footer {
	background: linear-gradient(180deg, #ffffff 0%, rgba(127, 176, 79, 0.8) 100%);
	color: #2d2d2d;
	flex-shrink: 0;
}

/* --- Logo --- */
.footer-logo-link img, .custom-logo-link img {
	height: auto;
	width: 160px;
	max-width: 100%;
	object-fit: contain;
}

.footer-site-name {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1a1a2e;
}

/* --- Social icon buttons --- */
.footer-social-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	/* border: 1.5px solid rgba(45, 45, 45, 0.35); */
	border-radius: 12px;
	/* color: #2d2d2d; */
	background-color: #ffffff;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social-btn:hover {
	background-color: rgba(45, 45, 45, 0.08);
	border-color: rgba(45, 45, 45, 0.6);
	color: #1a1a2e;
	text-decoration: none;
}

/* --- Navigation columns --- */
.footer-nav-list li {
	margin-bottom: 0.6rem;
}

.footer-nav-list a {
	color: #2d2d2d;
	text-decoration: none;
	font-size: 0.9375rem;
	transition: color 0.2s ease;
}

.footer-nav-list a:hover {
	color: #1a1a2e;
	text-decoration: underline;
}

/* --- Contact info card --- */
.footer-contact-card {
	background-color: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	backdrop-filter: blur(4px);
}

.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.footer-contact-item:last-child {
	margin-bottom: 0;
}

.footer-contact-icon {
	display: inline-flex;
	flex-shrink: 0;
	margin-top: 2px;
	color: #4a7c2f;
}

.footer-contact-text {
	font-size: 0.9rem;
	color: #2d2d2d;
	text-decoration: none;
	line-height: 1.4;
	word-break: break-word;
}

a.footer-contact-text:hover {
	color: #1a1a2e;
	text-decoration: underline;
}

/* --- Divider --- */
.footer-divider {
	border: none;
	border-top: 2px solid #ffffff;
	margin: 0;
}

/* --- First Nations acknowledgment --- */
.footer-acknowledgment {
	padding-top: 1.5rem;
}

.footer-acknowledgment p {
	font-size: 0.8125rem;
	line-height: 1.7;
	color: #2d2d2d;
	max-width: 100%;
}

/* =============================================================================
   Posts / Pages
   ============================================================================= */

.entry-title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.entry-title a {
	color: #1a1a2e;
}

.entry-title a:hover {
	color: #0d6efd;
	text-decoration: none;
}

.entry-meta {
	font-size: 0.875rem;
	color: #6c757d;
	margin-bottom: 1rem;
}

.entry-content {
	line-height: 1.8;
}

.entry-footer {
	margin-top: 1.5rem;
	font-size: 0.875rem;
	color: #6c757d;
}

/* =============================================================================
   Archive / Blog
   ============================================================================= */

.post-card {
	border: 1px solid #e9ecef;
	border-radius: 0.5rem;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
	height: 100%;
}

.post-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.post-card-body {
	padding: 1.5rem;
}

.post-card-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.post-card-excerpt {
	color: #6c757d;
	font-size: 0.9375rem;
}

/* =============================================================================
   Pagination
   ============================================================================= */

.pagination-wrapper {
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
}

.pagination .page-link {
	color: #1a1a2e;
}

.pagination .page-item.active .page-link {
	background-color: #1a1a2e;
	border-color: #1a1a2e;
}

/* =============================================================================
   Widgets / Sidebar
   ============================================================================= */

.widget {
	margin-bottom: 2rem;
}

.widget-title {
	font-size: 1.125rem;
	font-weight: 600;
	border-bottom: 2px solid #1a1a2e;
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
}

/* =============================================================================
   404 / Search No Results
   ============================================================================= */

.not-found-section,
.no-results-section {
	text-align: center;
	padding: 4rem 1rem;
}

/* =============================================================================
   Utilities
   ============================================================================= */

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}


.enveng-banner {
	position: relative;
	height: calc(100dvh - 180px);
	border-radius: 32px;
	overflow: hidden;
	margin: 0 16px;
}

.enveng-banner__bg {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.enveng-banner__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.enveng-banner__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;

	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 10.65%,
		rgba(0, 0, 0, 0.7) 50.17%,
		#000000 100%
	);
}

.enveng-banner .container {
	position: relative;
	z-index: 3;
	min-height: 100dvh;
}

.enveng-banner__title {
	font-size: clamp(42px, 6vw, 52px);
	line-height: 1.08;
	max-width: 1200px;
	margin-inline: auto;
}

.enveng-banner__subtitle {
	font-size: 20px;
	line-height: 1.7;
	max-width: 1100px;
	color: rgba(255,255,255,0.92);
}

.enveng-banner__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;

	text-decoration: none;

	transition:
		background-color .3s ease,
		color .3s ease,
		border-color .3s ease,
		transform .3s ease;
}

.enveng-banner__btn:hover {
	transform: translateY(-2px);
}

@media (max-width: 991px) {

	.enveng-banner {
		min-height: auto;
		padding: 120px 0;
	}

	.enveng-banner .container {
		min-height: auto;
	}

	.enveng-banner__title {
		font-size: 42px;
	}

	.enveng-banner__subtitle {
		font-size: 18px;
		line-height: 1.6;
	}
}

/* ====================================================================
   Global Shared Project Grid & Card Styling matrix 
   ==================================================================== */
.projects-page {
    padding: 0 40px;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.project-card__image-container {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card__date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #1b250e;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.project-card__title {
    font-weight: 700;
    color: #030712;
    line-height: 1.3;
}

.project-card__meta-box {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    height: 100%;
}

.meta-label {
    font-size: 20px;
    letter-spacing: 0.02em;
    font-weight: 500;
    text-transform: uppercase;
    color: #030712;
}
.meta-value {
    font-size: 14px;
    line-height: 1.4;
    display: block;
    color: #57534D;
}

/* Responsive Structural Breaks */
@media (max-width: 991px) {
    .projects-page {
        padding: 0 20px;
    }
    .project-card__image-container {
        height: 200px;
    }
}

 /* Banner Styles */
    .page-banner {
        padding: 0 20px;
    }
    .page-banner__wrapper {
        position: relative;
        height: 350px;
        background-size: cover;
        background-position: center;
        border-radius: 20px;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
    .page-banner__overlay {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: linear-gradient(90deg, rgba(10, 16, 1, 0.8) 0%, rgba(10, 16, 1, 0.2) 100%);
        z-index: 1;
    }
    .page-banner__content {
        position: relative;
        z-index: 2;
        margin-left: 50px;
    }
    .page-banner__title {
        font-size: clamp(32px, 5vw, 56px);
        font-weight: 700;
        color: #ffffff;
        margin: 0;
        letter-spacing: -0.02em;
    }