/*
Theme Name: WPWork Bootstrap
Theme URI: https://example.com/wpwork-bootstrap
Author: WPWork
Author URI: https://example.com
Description: Custom WordPress theme using Bootstrap 5. Includes Home, About, Practice, Team, Conditions, Contact, Pricing, Portfolio, and Blog. Built for WordPress maintenance, website building, static sites, and e-commerce services.
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpwork-bootstrap
Tags: custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, blog, portfolio, one-column, two-columns, right-sidebar, flexible-header, accessibility-ready
*/

/* Theme style variables */
:root {
	--bs-primary: #198754;
	--bs-primary-rgb: 25, 135, 84;
	--bs-link-color: #198754;
	--bs-link-color-rgb: 25, 135, 84;
	--bs-link-hover-color: #146c43;
	--bs-link-hover-color-rgb: 20, 108, 67;
	--wpwork-green: #198754;
	--wpwork-green-dark: #146c43;
	--wpwork-radius: 12px;
	--wpwork-radius-lg: 16px;
	--wpwork-shadow: 0 4px 20px rgba(25, 135, 84, 0.12);
	--wpwork-shadow-hover: 0 8px 28px rgba(25, 135, 84, 0.18);
	--wpwork-heading-color: #146c43;
	--wpwork-text-muted: #6c757d;
}

/* Buttons: green primary */
.btn-primary {
	background-color: #198754;
	border-color: #198754;
	color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
	background-color: #157347;
	border-color: #146c43;
	color: #fff;
}
.btn-outline-primary {
	color: #198754;
	border-color: #198754;
}
.btn-outline-primary:hover {
	background-color: #198754;
	border-color: #198754;
	color: #fff;
}

/* Theme overrides - Bootstrap handles base styles */
body {
	font-family: 'PT Sans', sans-serif;
	padding-top: 88px;
	font-size: 1rem;
	line-height: 1.6;
	color: #212529;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.25;
	color: var(--wpwork-heading-color);
}
.page-title-bg h1,
.page-title-bg .display-5,
.page-title-bg .display-6,
.hero-gradient h1 { color: #fff; }
/* Header custom logo: height 150px, width auto */
.navbar-brand .custom-logo-link img,
.navbar .custom-logo-link img {
	width: 150px;
	height: auto;
	max-height: none;
}
.navbar-brand img {
	max-height: none;
}
.footer-quick-links a { color: rgba(255,255,255,.9); text-decoration: none; transition: color 0.2s ease; }
.footer-quick-links a:hover { color: #fff; text-decoration: underline; }
.footer-sep { color: rgba(255,255,255,.45); margin: 0 0.4rem; user-select: none; }
.footer-links a { color: rgba(255,255,255,.9); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.page-content, .entry-content { padding: 2rem 0; }

/* Page title: centered */
.page-title-bg {
	background-color: var(--wpwork-green);
	color: #fff;
	padding: 2rem 0;
	margin: 0 0 2.5rem 0;
	text-align: center;
	position: relative;
	box-shadow: var(--wpwork-shadow);
	border-radius: 0 0 var(--wpwork-radius) var(--wpwork-radius);
}
.page-title-bg .container {
	text-align: center;
}
.page-title-bg h1,
.page-title-bg .display-5,
.page-title-bg .display-6 {
	color: #fff;
	margin: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.page-title-bg .lead,
.page-title-bg .text-muted {
	color: rgba(255, 255, 255, 0.95);
}
.page-title-bg .text-muted {
	opacity: 0.95;
}
.page-title-bg .text-success,
.page-title-bg span,
.page-title-bg a {
	color: #fff !important;
}
.page-title-bg a:hover {
	color: rgba(255, 255, 255, 0.9) !important;
}

/* Navbar */
.navbar-gradient {
	background-color: var(--wpwork-green) !important;
	box-shadow: 0 2px 16px rgba(25, 135, 84, 0.25);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar .nav-link {
	color: #fff !important;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
	color: #fff !important;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}
.navbar .nav-link.active {
	color: #fff !important;
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 0.25rem;
}

/* Hero */
.hero-gradient {
	background-color: var(--wpwork-green);
	position: relative;
	box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.08);
	border-radius: 0 0 var(--wpwork-radius-lg) var(--wpwork-radius-lg);
	padding: 3rem 0 4rem !important;
}
.hero-gradient .lead {
	color: rgba(255, 255, 255, 0.95);
}

/* Our Services section */
.section-gradient-light {
	background-color: transparent;
	position: relative;
}
.our-services-section .our-services-heading {
	color: #146c43;
	font-weight: 700;
	position: relative;
	padding-bottom: 0.5rem;
}
.our-services-section .our-services-heading::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background-color: #198754;
	border-radius: 2px;
}
/* Outer box: clean card style */
.our-services-card {
	border-radius: 20px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: none;
	background: transparent;
	padding: 0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.our-services-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(25, 135, 84, 0.2);
}
/* Inner box: green with left accent */
.our-services-inner-box {
	background-color: #198754;
	border: none;
	border-radius: 20px;
	border-left: 4px solid rgba(255, 255, 255, 0.6);
	padding: 1.5rem 1.5rem 1.5rem 1.25rem;
	min-height: 100%;
	box-shadow: 0 4px 20px rgba(25, 135, 84, 0.25);
	position: relative;
}
.our-services-card:hover .our-services-inner-box {
	background-color: #146c43;
	border-left-color: #fff;
	box-shadow: 0 8px 28px rgba(25, 135, 84, 0.35);
}
.our-services-inner-box .card-title,
.our-services-inner-box .h5 {
	color: #fff;
}
.our-services-inner-box .text-muted,
.our-services-inner-box .our-services-points,
.our-services-inner-box .our-services-points li {
	color: #fff;
}
.our-services-inner-box .our-services-points li::before {
	color: #fff;
}
.our-services-inner-box .our-services-icon {
	background-color: rgba(255, 255, 255, 0.25);
	color: #fff;
	border-radius: 12px;
}
.our-services-card .card-body {
	border-radius: 20px;
	background: transparent;
	padding: 0;
}
.our-services-icon {
	background-color: rgba(255, 255, 255, 0.25);
	color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	border-radius: 12px;
}
.our-services-card:hover .our-services-icon {
	background-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

/* WordPress Core Points section */
.core-points-section {
	background-color: #fff;
}
.core-points-heading {
	color: #146c43;
	font-weight: 700;
	position: relative;
	padding-bottom: 0.5rem;
}
.core-points-heading::after {
	content: "";
	display: block;
	width: 60px;
	height: 4px;
	background-color: #198754;
	border-radius: 2px;
	margin: 0.5rem auto 0;
}
.core-point-card {
	background: #f8f9fa;
	border: 1px solid rgba(25, 135, 84, 0.1);
	border-radius: 12px;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.core-point-card:hover {
	box-shadow: 0 6px 20px rgba(25, 135, 84, 0.12);
	border-color: rgba(25, 135, 84, 0.2);
}
.core-point-icon {
	width: 3rem;
	height: 3rem;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(25, 135, 84, 0.1);
	color: #198754;
	border-radius: 50%;
	font-size: 1.1rem;
}
.core-point-card:hover .core-point-icon {
	background-color: rgba(25, 135, 84, 0.18);
	color: #146c43;
}
.core-point-title {
	color: #146c43;
	font-weight: 600;
}

/* Why Choose WPWork section */
.why-choose-wpwork {
	background-color: #f8f9fa;
}
.why-choose-heading {
	color: #146c43;
	font-weight: 700;
	position: relative;
	padding-bottom: 0.5rem;
}
.why-choose-heading::after {
	content: "";
	display: block;
	width: 60px;
	height: 4px;
	background-color: #198754;
	border-radius: 2px;
	margin: 0.5rem auto 0;
}
.why-choose-card {
	background: #fff;
	border-radius: 12px;
	border: 1px solid rgba(25, 135, 84, 0.12);
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-choose-card:hover {
	box-shadow: 0 8px 24px rgba(25, 135, 84, 0.12);
	border-color: rgba(25, 135, 84, 0.25);
}
.why-choose-icon {
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(25, 135, 84, 0.1);
	color: #198754;
	border-radius: 50%;
	font-size: 1.25rem;
}
.why-choose-card:hover .why-choose-icon {
	background-color: rgba(25, 135, 84, 0.18);
	color: #146c43;
}

/* Testimonials section */
.testimonials-section {
	background-color: #fff;
}
.testimonials-heading {
	color: #146c43;
	font-weight: 700;
	position: relative;
	padding-bottom: 0.5rem;
}
.testimonials-heading::after {
	content: "";
	display: block;
	width: 60px;
	height: 4px;
	background-color: #198754;
	border-radius: 2px;
	margin: 0.5rem auto 0;
}
.testimonials-carousel .carousel-indicators {
	bottom: -2.5rem;
}
.testimonials-carousel .carousel-indicators button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #198754;
	opacity: 0.5;
	border: none;
}
.testimonials-carousel .carousel-indicators button.active {
	opacity: 1;
	background-color: #146c43;
}
.testimonial-card {
	background: #f8f9fa;
	border-radius: 16px;
	border: 1px solid rgba(25, 135, 84, 0.1);
	min-height: 220px;
}
.testimonial-quote-icon {
	color: #198754;
	font-size: 2rem;
	opacity: 0.6;
}
.testimonial-text {
	font-size: 1.1rem;
	line-height: 1.6;
	color: #333;
	font-style: normal;
	border: none;
	padding: 0;
	margin: 0;
}
.testimonial-author {
	font-style: normal;
	color: #146c43;
}
.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next {
	width: 30px;
	opacity: 0.9;
}
.testimonials-carousel .carousel-control-prev-icon,
.testimonials-carousel .carousel-control-next-icon {

	background-color: #198754;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	padding: 0;
	background-size: 22px;
	opacity: 0.9;
}
.testimonials-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.testimonials-carousel .carousel-control-next:hover .carousel-control-next-icon {
	opacity: 1;
	background-color: #146c43;
}

/* CTA section */
.cta-gradient {
	background-color: #198754;
	position: relative;
	box-shadow: 0 -4px 20px rgba(25, 135, 84, 0.15);
}
.cta-heading,
.cta-text {
	color: #fff !important;
}

/* Footer: new style */
.site-footer {
	background: linear-gradient(180deg, #146c43 0%, #0f172a 100%);
	margin-top: 4rem;
	border-top: 4px solid #198754;
}
.footer-top {
	padding: 3rem 0 2.5rem;
}
.footer-brand-wrap {
	max-width: 320px;
}
.footer-contact {
	margin-top: 1rem;
	font-size: 0.9rem;
}
.footer-contact-link {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	display: inline-block;
	margin-bottom: 0.25rem;
	transition: color 0.2s ease;
}
.footer-contact-link:hover {
	color: #fff;
	text-decoration: underline;
}
.footer-brand {
	font-weight: 700;
	font-size: 1.35rem;
	color: #fff;
	letter-spacing: 0.02em;
	margin-bottom: 0.75rem;
}
.footer-tagline {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0;
}
.footer-subscribe-heading,
.footer-quicklinks-heading {
	font-weight: 600;
	color: #fff;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.5rem;
}
.footer-subscribe-text {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.875rem;
	margin-bottom: 1rem;
}
.footer-subscribe-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	max-width: 320px;
	margin: 0 auto;
}
@media (min-width: 992px) {
	.footer-subscribe-form {
		justify-content: flex-start;
		margin-left: 0;
		margin-right: auto;
	}
}
.footer-subscribe-form .footer-email-input {
	flex: 1;
	min-width: 180px;
	background: rgba(255, 255, 255, 0.95);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 0.6rem 1rem;
	color: #333;
	font-size: 0.95rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.footer-subscribe-form .footer-email-input:focus {
	outline: none;
	border-color: #198754;
	box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.3);
}
.footer-subscribe-form .footer-email-input::placeholder {
	color: #6c757d;
}
.footer-subscribe-btn {
	font-weight: 600;
	border-radius: 8px;
	padding: 0.6rem 1.25rem;
	color: #146c43;
	background: #fff;
	border: 2px solid #fff;
	font-size: 0.95rem;
	transition: background 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}
.footer-subscribe-btn:hover {
	background: transparent;
	color: #fff;
	border-color: #fff;
}
.footer-quick-links {
	font-size: 0.95rem;
	text-align: left;
}
.footer-quick-links-list {
	padding-left: 0;
}
.footer-quick-links-list li {
	margin-bottom: 0.4rem;
}
.footer-quick-links-list li:last-child {
	margin-bottom: 0;
}
@media (max-width: 991px) {
	.footer-top .row {
		text-align: center;
	}
	.footer-top [class*="col-"] {
		text-align: center;
	}
	.footer-brand-wrap {
		margin-left: auto;
		margin-right: auto;
	}
	.footer-quick-links {
		text-align: center;
	}
	.footer-quick-links-list {
		display: inline-block;
		text-align: center;
	}
	.footer-quick-links-list li {
		text-align: center;
	}
	.testimonials-carousel .carousel-control-prev-icon, .testimonials-carousel .carousel-control-next-icon{
		display: none;
	}
	.footer-subscribe {
		margin-left: auto;
		margin-right: auto;
		max-width: 320px;
	}
	.footer-subscribe-form {
		justify-content: center;
		margin-left: auto;
		margin-right: auto;
	}

}
.footer-bottom {
	background: rgba(0, 0, 0, 0.2);
	padding: 1rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-copyright {
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.875rem;
}

/* Our Services section: 2x2 layout, icon + content, bullet points */
.our-services-card .card-body {
	border-radius: 20px;
}
.our-services-icon {
	font-size: 1.5rem;
	line-height: 1;
	width: 3.5rem;
	height: 3.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}
.our-services-icon i,
.our-services-icon .fa-solid {
	color: #fff !important;
	font-size: 1.75rem;
}
.our-services-content {
	flex: 1;
	min-width: 0;
}
.our-services-points {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}
.our-services-points li {
	position: relative;
	padding-left: 1.25rem;
	margin-bottom: 0.35rem;
}
.our-services-points li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: #fff;
	font-weight: bold;
}
.our-services-points li {
	color: #fff;
}

/* Pricing Cards */
.pricing-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}
.pricing-card .card-header i {
	opacity: 0.9;
}
.pricing-card .list-unstyled li {
	padding: 0.4rem 0;
}
.pricing-card .list-unstyled li i {
	margin-right: 0.5rem;
	width: 20px;
	display: inline-block;
}

/* Contact Page Styles */
.bg-light a,
.bg-light a.text-decoration-none {
	color: #198754 !important;
	font-weight: 600;
	transition: color 0.2s ease;
}
.bg-light a:hover,
.bg-light a.text-decoration-none:hover {
	color: #146c43 !important;
	text-decoration: underline !important;
}

/* Blog Listing – Custom Sidebar */
.blog-sidebar-custom .card-body h3 {
	color: #198754;
	font-weight: 600;
}
.blog-sidebar-custom a {
	color: #198754;
	transition: color 0.2s ease;
}
.blog-sidebar-custom a:hover {
	color: #146c43;
	text-decoration: underline;
}

/* Portfolio Page */
.portfolio-item {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}
.portfolio-item .card-img-top {
	transition: background-color 0.3s ease;
}
.portfolio-item:hover .card-img-top {
	background-color: rgba(25, 135, 84, 0.15) !important;
}
.portfolio-tags .badge {
	font-weight: 500;
	font-size: 0.75rem;
	padding: 0.35rem 0.65rem;
}

