/**
 * PPBN & CO – Modern blue theme (FULL – paste this entire file in Theme File Editor)
 * Includes: Hero Slider, Journey/Timeline, Service cards, Quote block
 */

/* ==========================================================================
   Design tokens – modern blue palette & motion
   ========================================================================== */
:root {
	--ppbn-font-heading: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
	--ppbn-font-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
	--ppbn-color-primary: #2563eb;
	--ppbn-color-primary-deep: #1d4ed8;
	--ppbn-color-primary-hover: #1e40af;
	--ppbn-color-accent: #3b82f6;
	--ppbn-color-accent-hover: #2563eb;
	--ppbn-glow: rgba(59, 130, 246, 0.35);
	--ppbn-glow-strong: rgba(59, 130, 246, 0.25);
	--ppbn-color-text: #111827;
	--ppbn-color-text-muted: #4b5563;
	--ppbn-radius: 14px;
	--ppbn-radius-lg: 20px;
	--ppbn-radius-sm: 10px;
	--ppbn-shadow: 0 4px 20px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
	--ppbn-shadow-hover: 0 12px 40px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
	--ppbn-shadow-glow: 0 0 40px var(--ppbn-glow);
	--ppbn-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--ppbn-transition-fast: 0.2s ease;
}

html { scroll-behavior: smooth; }

body,
.entry-content,
.elementor-widget-text-editor {
	font-family: var(--ppbn-font-body) !important;
	color: var(--ppbn-color-text);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.ekit-heading-title {
	font-family: var(--ppbn-font-heading) !important;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.elementor-location-single .elementor-section:first-of-type .elementor-heading-title,
.elementor-top-section:first-child .elementor-heading-title {
	font-weight: 800 !important;
	letter-spacing: -0.04em;
}

/* Buttons */
a.elementor-button,
.elementor-button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.ekit_we_btn,
.e-button,
.e-con-inner .elementor-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 2rem !important;
	font-family: var(--ppbn-font-heading) !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	border-radius: var(--ppbn-radius) !important;
	border: none;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: transform var(--ppbn-transition), box-shadow var(--ppbn-transition), color var(--ppbn-transition) !important;
	box-shadow: var(--ppbn-shadow);
}

a.elementor-button::after,
.elementor-button::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
	transition: left 0.5s ease;
}

a.elementor-button:hover,
.elementor-button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: var(--ppbn-shadow-hover), var(--ppbn-shadow-glow);
}

a.elementor-button:hover::after,
.elementor-button:hover::after { left: 100%; }

.elementor-button.elementor-size-md,
.elementor-button:not([class*="elementor-size-"]),
button[type="submit"],
input[type="submit"] {
	background: linear-gradient(135deg, var(--ppbn-color-primary) 0%, var(--ppbn-color-primary-deep) 50%, #1e40af 100%) !important;
	background-size: 200% 200%;
	color: #fff !important;
	animation: ppbn-gradient-shift 8s ease infinite;
	box-shadow: var(--ppbn-shadow), 0 0 0 1px rgba(255,255,255,0.1);
}

@keyframes ppbn-gradient-shift {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

.elementor-button.elementor-size-md:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background-position: 100% 50%;
	color: #fff !important;
}

.elementor-button.elementor-size-sm,
.elementor-button--outline {
	background: transparent !important;
	color: var(--ppbn-color-primary) !important;
	border: 2px solid var(--ppbn-color-primary) !important;
}

.elementor-button.elementor-size-sm:hover,
.elementor-button--outline:hover {
	background: var(--ppbn-color-primary) !important;
	color: #fff !important;
	border-color: var(--ppbn-color-primary) !important;
}

a.elementor-button:focus-visible,
.elementor-button:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible {
	outline: 2px solid var(--ppbn-color-accent);
	outline-offset: 3px;
}

/* Links */
a:not(.elementor-button):not(.wp-block-button__link) {
	color: var(--ppbn-color-primary);
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px;
	transition: color var(--ppbn-transition-fast), background-size 0.3s ease;
}

a:not(.elementor-button):hover {
	color: var(--ppbn-color-primary-deep);
	background-size: 100% 2px;
}

a:focus-visible {
	outline: 2px solid var(--ppbn-color-accent);
	outline-offset: 2px;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
textarea,
select,
.elementor-field-group input,
.elementor-field-group textarea,
.elementor-field-group select {
	width: 100%;
	max-width: 100%;
	padding: 0.875rem 1.25rem !important;
	font-family: var(--ppbn-font-body) !important;
	font-size: 1rem !important;
	line-height: 1.5;
	color: var(--ppbn-color-text);
	background: #fff;
	border: 2px solid #e5e7eb !important;
	border-radius: var(--ppbn-radius-sm) !important;
	transition: border-color var(--ppbn-transition), box-shadow var(--ppbn-transition) !important;
	box-sizing: border-box !important;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--ppbn-color-primary) !important;
	box-shadow: 0 0 0 4px var(--ppbn-glow);
	outline: none;
}

input::placeholder,
textarea::placeholder { color: var(--ppbn-color-text-muted); }

/* Sections */
.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
}

.elementor-section { transition: opacity var(--ppbn-transition); }

.elementor-element[data-element_type="container"]:hover,
.elementor-column-wrap:hover {
	transition: transform var(--ppbn-transition), box-shadow var(--ppbn-transition);
}

.elementor-widget-wrap { transition: transform var(--ppbn-transition); }

.elementor-section:nth-of-type(even):not([class*="elementor-inner"]) {
	background-color: rgba(37, 99, 235, 0.03) !important;
}

/* Header */
.ast-header-wrap,
.main-header-bar,
.elementor-location-header .elementor-section {
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 0 rgba(37, 99, 235, 0.08);
	transition: box-shadow var(--ppbn-transition);
}

.main-header-menu a,
.ast-desktop .main-header-menu a,
.elementor-nav-menu a {
	font-family: var(--ppbn-font-heading) !important;
	font-weight: 600 !important;
	transition: color var(--ppbn-transition-fast) !important;
}

.main-header-menu a:hover,
.elementor-nav-menu a:hover { color: var(--ppbn-color-primary) !important; }

.ast-mobile-menu-buttons .menu-toggle,
.elementor-menu-toggle {
	border-radius: var(--ppbn-radius-sm);
	transition: background var(--ppbn-transition);
}

/* Footer */
.ast-footer-overlay,
.site-footer,
.elementor-location-footer .elementor-section {
	background: linear-gradient(165deg, #1e40af 0%, #1d4ed8 40%, #1e3a8a 100%) !important;
	color: #e5e7eb;
	position: relative;
}

.site-footer a,
.elementor-location-footer a {
	color: var(--ppbn-color-accent) !important;
	transition: color var(--ppbn-transition-fast);
}

.site-footer a:hover,
.elementor-location-footer a:hover { color: #fff !important; }

/* Scroll-in */
.ppbn-inview {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ppbn-inview.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ppbn-inview .elementor-widget-wrap > .elementor-widget-container {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease;
	transition-delay: calc(var(--ppbn-i, 0) * 0.08s);
}

.ppbn-inview.is-visible .elementor-widget-wrap > .elementor-widget-container {
	opacity: 1;
	transform: translateY(0);
}

/* Touch & mobile */
@media (max-width: 921px) {
	a.elementor-button,
	.elementor-button,
	.main-header-menu a {
		min-height: 48px;
		padding-top: 0.75rem !important;
		padding-bottom: 0.75rem !important;
	}
}

/* Journey / Timeline */
.ppbn-journey,
.elementor-widget-container .ppbn-journey {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.ppbn-timeline-item {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	margin-bottom: 1.75rem;
	position: relative;
}

.ppbn-timeline-year {
	flex-shrink: 0;
	font-family: var(--ppbn-font-heading);
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--ppbn-color-primary);
	line-height: 1.2;
	min-width: 4rem;
}

.ppbn-timeline-content {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ppbn-color-text);
}

.ppbn-timeline-item:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 1.9rem;
	top: 2.25rem;
	bottom: -1.75rem;
	width: 2px;
	background: linear-gradient(to bottom, var(--ppbn-color-primary), rgba(37, 99, 235, 0.2));
	border-radius: 1px;
}

/* Service cards */
.ppbn-service-card {
	background: #fff;
	border-radius: var(--ppbn-radius-lg);
	padding: 1.75rem;
	box-shadow: var(--ppbn-shadow);
	border: 1px solid rgba(37, 99, 235, 0.08);
	transition: transform var(--ppbn-transition), box-shadow var(--ppbn-transition);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.ppbn-service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ppbn-shadow-hover);
}

.ppbn-service-card .elementor-heading-title {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
	color: var(--ppbn-color-primary-deep);
}

.ppbn-service-card .ppbn-learn-more,
.ppbn-service-card a[href].elementor-button.elementor-size-sm {
	margin-top: auto;
	font-weight: 600;
	color: var(--ppbn-color-primary);
	align-self: flex-start;
}

/* Quote block */
.ppbn-quote-block {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(29, 78, 216, 0.04) 100%);
	border-left: 4px solid var(--ppbn-color-primary);
	padding: 2rem 2rem 2rem 2.5rem;
	border-radius: 0 var(--ppbn-radius) var(--ppbn-radius) 0;
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--ppbn-color-text);
	max-width: 820px;
	margin: 0 auto;
}

.ppbn-quote-block .elementor-heading-title {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: var(--ppbn-color-primary-deep);
}

/* PPBN Hero Slider */
.ppbn-hero-slider .elementor-slides-wrapper { min-height: 420px; }

.ppbn-hero-slider .elementor-slide-content {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.ppbn-hero-slider .elementor-slide-heading {
	font-family: var(--ppbn-font-heading) !important;
	font-weight: 800 !important;
	letter-spacing: -0.03em;
	line-height: 1.2;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.ppbn-hero-slider .elementor-slide-description {
	font-size: 1.125rem;
	opacity: 0.95;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.ppbn-hero-slider .elementor-swiper-button-prev,
.ppbn-hero-slider .elementor-swiper-button-next {
	color: #fff;
	background: rgba(37, 99, 235, 0.85);
	border-radius: 50%;
	width: 48px;
	height: 48px;
	transition: background var(--ppbn-transition), transform var(--ppbn-transition);
}

.ppbn-hero-slider .elementor-swiper-button-prev:hover,
.ppbn-hero-slider .elementor-swiper-button-next:hover {
	background: var(--ppbn-color-primary);
	transform: scale(1.08);
}

.ppbn-hero-slider .elementor-swiper-button-prev::after,
.ppbn-hero-slider .elementor-swiper-button-next::after { font-size: 18px; }

@media (max-width: 767px) {
	.ppbn-hero-slider .elementor-slides-wrapper { min-height: 320px; }
	.ppbn-hero-slider .elementor-slide-heading { font-size: 1.75rem !important; }
}

/* Hero CTA buttons – exact style (rounded blue + border + thumbs-up) */
/* Applies to: Elementor buttons with class ppbn-hero-cta-btn, and Smart Slider 3 buttons in hero */
.ppbn-hero-cta-btn,
.ppbn-hero-slider .ppbn-hero-cta-btn,
.ppbn-hero-slider a.n2-ss-button.ppbn-hero-cta-btn,
a.ppbn-hero-cta-btn,
/* Smart Slider 3 (slider 2): style buttons by link so they match even without custom class */
.ppbn-hero-slider a[href*="ppbn.co.in/services"],
.ppbn-hero-slider a[href*="/services/"],
.ppbn-hero-slider a[href*="ppbn.co.in/about-team"],
.ppbn-hero-slider a[href*="ppbn.co.in/about-us"],
.ppbn-hero-slider a[href*="/about-team"],
.ppbn-hero-slider a[href*="/about-us"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	padding: 14px 28px !important;
	font-family: var(--ppbn-font-heading) !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	color: #fff !important;
	text-decoration: none !important;
	letter-spacing: 0.02em;
	background: #2563eb !important;
	border: 2px solid #1d4ed8 !important;
	border-radius: 24px !important;
	cursor: pointer;
	transition: transform var(--ppbn-transition), box-shadow var(--ppbn-transition), background var(--ppbn-transition) !important;
	box-shadow: 0 2px 12px rgba(37, 99, 235, 0.3);
}
.ppbn-hero-cta-btn::before,
a.ppbn-hero-cta-btn::before,
.ppbn-hero-slider a.ppbn-hero-cta-btn::before,
/* Thumbs-up for Smart Slider buttons (match Services / About Us by text – optional) */
.ppbn-hero-slider a[href*="services"]::before,
.ppbn-hero-slider a[href*="about-team"]::before,
.ppbn-hero-slider a[href*="about-us"]::before {
	content: "\1F44D";
	font-style: normal;
	margin-right: 0.25rem;
}
.ppbn-hero-cta-btn:hover,
.ppbn-hero-slider a.ppbn-hero-cta-btn:hover,
a.ppbn-hero-cta-btn:hover,
.ppbn-hero-slider a[href*="ppbn.co.in/services"]:hover,
.ppbn-hero-slider a[href*="/services/"]:hover,
.ppbn-hero-slider a[href*="ppbn.co.in/about-team"]:hover,
.ppbn-hero-slider a[href*="ppbn.co.in/about-us"]:hover,
.ppbn-hero-slider a[href*="/about-team"]:hover,
.ppbn-hero-slider a[href*="/about-us"]:hover {
	background: #1d4ed8 !important;
	border-color: #1e40af !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Force hero buttons side-by-side on live site (add class to container) */
.ppbn-hero-buttons-row,
.ppbn-hero-slider .ppbn-hero-buttons-row {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	justify-content: center !important;
	align-items: center !important;
	gap: 1rem !important;
}
.ppbn-hero-buttons-row .elementor-widget-wrap,
.ppbn-hero-buttons-row .elementor-widget-button {
	display: inline-flex !important;
}

/* Utilities */
[data-elementor-type="wp-page"] .elementor-widget-container a[href^="#"] {
	pointer-events: auto;
	cursor: pointer;
}

.elementor-element[data-settings*="link"] { cursor: pointer; }

.elementor-icon-list-items .elementor-icon-list-item { align-items: center; }

.elementor-icon-list-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
