/*
Theme Name: Be Solar Basic
Theme URI: https://besolarsolutions.com/
Author: Be Solar Solutions Pvt Ltd
Description: A lightweight, responsive classic theme for Be Solar Solutions. Page content is imported separately with the supplied WordPress XML file.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: be-solar-basic
*/

:root {
	--bs-navy: #071a37;
	--bs-blue: #1558b0;
	--bs-blue-light: #eaf2ff;
	--bs-orange: #f59a0b;
	--bs-ink: #14243a;
	--bs-muted: #58677a;
	--bs-line: #dce4ed;
	--bs-paper: #ffffff;
	--bs-soft: #f4f7fb;
	--bs-radius: 20px;
	--bs-shadow: 0 22px 56px rgba(7, 26, 55, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--bs-ink);
	background: var(--bs-paper);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--bs-blue); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--bs-navy); }
button, input, select, textarea { font: inherit; }
.bs-container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bs-skip-link { position: absolute; left: -9999px; top: 8px; z-index: 99; padding: 10px 14px; color: white; background: var(--bs-navy); }
.bs-skip-link:focus { left: 8px; }

.bs-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(220,228,237,.8); backdrop-filter: blur(16px); }
.bs-header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.bs-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 88px; text-decoration: none; }
.bs-brand img { display: block; width: 104px; height: 96px; object-fit: contain; object-position: center; }
.bs-brand-text { display: grid; color: var(--bs-navy); line-height: 1.1; }
.bs-brand-text strong { font-size: 17px; letter-spacing: -.03em; }
.bs-brand-text span { margin-top: 5px; color: var(--bs-muted); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.bs-nav { margin-left: auto; }
.bs-nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.bs-nav li { position: relative; }
.bs-nav a { display: inline-block; padding: 8px 0; color: var(--bs-ink); font-size: 14px; font-weight: 650; text-decoration: none; }
.bs-nav a:hover, .bs-nav .current-menu-item > a, .bs-nav .current_page_item > a { color: var(--bs-blue); }
.bs-nav .sub-menu { position: absolute; top: 100%; left: -12px; display: none; min-width: 230px; padding: 8px 14px; border: 1px solid var(--bs-line); border-radius: 12px; background: white; box-shadow: var(--bs-shadow); }
.bs-nav li:hover > .sub-menu, .bs-nav li:focus-within > .sub-menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.bs-nav .sub-menu a { display: block; padding: 7px 0; }
.bs-header-cta { flex: 0 0 auto; }
.bs-menu-toggle { display: none; }

.bs-button, .bs-button:visited { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 20px; border: 1px solid var(--bs-blue); border-radius: 999px; color: white; background: var(--bs-blue); font-weight: 700; line-height: 1.2; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.bs-button:hover { color: white; background: var(--bs-navy); border-color: var(--bs-navy); transform: translateY(-1px); }
.bs-button--light, .bs-button--light:visited { color: var(--bs-navy); background: white; border-color: rgba(255,255,255,.6); }
.bs-button--light:hover { color: white; background: transparent; border-color: white; }
.bs-button--outline, .bs-button--outline:visited { color: var(--bs-blue); background: transparent; }
.bs-button--outline:hover { color: white; background: var(--bs-blue); }

.bs-page-content > :first-child { margin-top: 0; }
.bs-page-content > :last-child { margin-bottom: 0; }
.bs-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(58px, 7vw, 94px) 0; color: white; background: radial-gradient(ellipse at 82% 10%, rgba(39,111,201,.32), transparent 34%), linear-gradient(118deg, #06162f 0%, #0b2850 68%, #103d73 100%); }
.bs-hero::after { content: ""; position: absolute; z-index: -1; right: -170px; bottom: -400px; width: 710px; height: 710px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.035), 0 0 0 120px rgba(255,255,255,.022); pointer-events: none; }
.bs-hero:not(.bs-hero--home)::before { content: ""; position: absolute; z-index: -1; top: 50%; right: max(22px, calc((100vw - 1160px) / 2)); width: min(40vw, 480px); aspect-ratio: 820 / 620; border: 1px solid rgba(183,213,255,.28); border-radius: 26px; background: #0c2040 url("assets/images/solar-hero-premium.svg") center / cover no-repeat; box-shadow: 0 28px 68px rgba(0,0,0,.3); transform: translateY(-50%); }
.bs-hero:not(.bs-hero--home) .bs-hero-inner { max-width: 620px; }
.bs-hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(340px, .97fr); align-items: center; gap: clamp(32px, 5vw, 66px); }
.bs-hero-inner { position: relative; max-width: none; }
.bs-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--bs-orange); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.bs-eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.bs-hero h1 { max-width: 850px; margin: 0 0 20px; color: white; font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 760; letter-spacing: -.055em; line-height: 1.04; }
.bs-hero p { max-width: 610px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 1.7vw, 1.2rem); }
.bs-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.bs-hero .bs-button--outline { color: white; border-color: rgba(255,255,255,.6); }
.bs-hero .bs-button--outline:hover { background: white; color: var(--bs-navy); }
.bs-hero-art { position: relative; min-height: 410px; overflow: hidden; border: 1px solid rgba(183,213,255,.26); border-radius: 28px; background: #0c2040 url("assets/images/solar-hero-premium.svg") center / cover no-repeat; box-shadow: 0 32px 80px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.18); transform: perspective(1100px) rotateY(-4deg); }
.bs-hero-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255,255,255,.13), transparent 34%, transparent 70%, rgba(15,89,177,.24)); pointer-events: none; }
.bs-hero-art__badge, .bs-hero-art__note { position: absolute; display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; color: white; background: rgba(9,25,51,.76); box-shadow: 0 12px 30px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
.bs-hero-art__badge { top: 22px; right: 22px; padding: 10px 14px; font-size: 12px; font-weight: 750; letter-spacing: .03em; }
.bs-hero-art__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffc04b; box-shadow: 0 0 14px #ffb323; }
.bs-hero-art__note { bottom: 20px; left: 20px; padding: 13px 16px; font-size: 13px; font-weight: 700; }
.bs-hero-art__note::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: #eaf2ff url("assets/images/icon-check.svg") center / 17px no-repeat; }
.bs-hero-points { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; color: rgba(255,255,255,.76); font-size: 13px; }
.bs-hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.bs-hero-points span::before { content: "✓"; color: #ffc04b; font-weight: 900; }

.bs-proofbar { position: relative; z-index: 1; margin-top: -1px; color: var(--bs-ink); background: white; border-bottom: 1px solid var(--bs-line); box-shadow: 0 12px 35px rgba(7,26,55,.045); }
.bs-proofbar-inner { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.bs-proof-item { display: flex; align-items: center; gap: 14px; padding: 23px 24px; border-right: 1px solid var(--bs-line); }
.bs-proof-item:first-child { padding-left: 0; }
.bs-proof-item:last-child { border-right: 0; }
.bs-proof-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 15px; background: #eef4ff center / 26px no-repeat; }
.bs-proof-icon--sun { background-image: url("assets/images/icon-sun.svg"); }
.bs-proof-icon--check { background-image: url("assets/images/icon-check.svg"); }
.bs-proof-icon--battery { background-image: url("assets/images/icon-battery.svg"); }
.bs-proof-item strong { display: block; color: var(--bs-navy); font-size: 14px; line-height: 1.3; }
.bs-proof-item small { display: block; margin-top: 3px; color: var(--bs-muted); font-size: 12px; line-height: 1.4; }

.bs-section { padding: clamp(58px, 8vw, 96px) 0; }
.bs-section--soft { background: var(--bs-soft); }
.bs-section--navy { color: white; background: var(--bs-navy); }
.bs-section--navy h2, .bs-section--navy h3 { color: white; }
.bs-section-head { max-width: 760px; margin-bottom: 34px; }
.bs-section h2, .bs-page-content h2 { margin: 0 0 16px; color: var(--bs-navy); font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.045em; line-height: 1.13; }
.bs-section h3, .bs-page-content h3 { margin: 0 0 10px; color: var(--bs-navy); font-size: 1.25rem; line-height: 1.3; }
.bs-lead { color: var(--bs-muted); font-size: 1.12rem; }
.bs-section--navy .bs-lead, .bs-section--navy p { color: rgba(255,255,255,.78); }
.bs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bs-card { height: 100%; padding: 28px; border: 1px solid var(--bs-line); border-radius: var(--bs-radius); background: white; box-shadow: 0 5px 22px rgba(7,26,55,.035); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.bs-card:hover { transform: translateY(-5px); border-color: #b7cdeb; box-shadow: 0 18px 42px rgba(7,26,55,.11); }
body.bs-motion-ready .bs-reveal { opacity: 0; transform: translateY(18px); transition: opacity .58s ease var(--bs-reveal-delay, 0ms), transform .58s cubic-bezier(.2,.75,.25,1) var(--bs-reveal-delay, 0ms); }
body.bs-motion-ready .bs-reveal.is-visible { opacity: 1; transform: translateY(0); }
body.bs-motion-ready .bs-card.bs-reveal.is-visible:hover { transform: translateY(-5px); }
.bs-card p:last-child { margin-bottom: 0; }
.bs-card-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border: 1px solid #d9e7fa; border-radius: 17px; color: var(--bs-blue); background: linear-gradient(145deg, #f4f8ff, #e5efff) center / 31px no-repeat; font-size: 0; font-weight: 800; }
body.home .bs-page-content > section:nth-of-type(2) .bs-grid > article:nth-child(1) .bs-card-icon { background-image: url("assets/images/icon-home.svg"); }
body.home .bs-page-content > section:nth-of-type(2) .bs-grid > article:nth-child(2) .bs-card-icon { background-image: url("assets/images/icon-business.svg"); }
body.home .bs-page-content > section:nth-of-type(2) .bs-grid > article:nth-child(3) .bs-card-icon { background-image: url("assets/images/icon-industry.svg"); }
.bs-icon--home { background-image: url("assets/images/icon-home.svg"); }
.bs-icon--business { background-image: url("assets/images/icon-business.svg"); }
.bs-icon--industry { background-image: url("assets/images/icon-industry.svg"); }
.bs-icon--sun { background-image: url("assets/images/icon-sun.svg"); }
.bs-icon--battery { background-image: url("assets/images/icon-battery.svg"); }
.bs-icon--tools { background-image: url("assets/images/icon-tools.svg"); }
.bs-icon--location { background-image: url("assets/images/icon-location.svg"); }
.bs-card-link { display: inline-block; margin-top: 14px; font-weight: 750; text-decoration: none; }
.bs-check-list { display: grid; gap: 10px; margin: 20px 0; padding: 0; list-style: none; }
.bs-check-list li { position: relative; padding-left: 28px; }
.bs-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--bs-blue); font-weight: 900; }
.bs-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: center; gap: clamp(32px, 7vw, 82px); }
.bs-callout { padding: 30px; border: 1px solid rgba(255,255,255,.17); border-radius: var(--bs-radius); background: rgba(255,255,255,.07); }
.bs-cta { padding: clamp(36px, 6vw, 64px); border-radius: 24px; color: white; background: linear-gradient(120deg, #092751, #1558b0); box-shadow: var(--bs-shadow); }
.bs-cta h2, .bs-cta h3 { color: white; }
.bs-cta p { color: rgba(255,255,255,.82); }
.bs-cta .bs-button--outline { color: white; border-color: rgba(255,255,255,.62); }
.bs-cta .bs-button--outline:hover { color: var(--bs-navy); background: white; }
.bs-breadcrumb { padding: 14px 0; color: var(--bs-muted); font-size: 13px; }
.bs-breadcrumb a { text-decoration: none; }
.bs-page-intro { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 7vw, 88px) 0 38px; background: radial-gradient(circle at 90% 20%, rgba(21,88,176,.10), transparent 22%), linear-gradient(120deg, #f2f6fb, #fff 70%); }
.bs-page-intro::after { content: ""; position: absolute; z-index: -1; top: -120px; right: 7%; width: 340px; height: 340px; border: 1px solid rgba(21,88,176,.12); border-radius: 50%; box-shadow: 0 0 0 32px rgba(21,88,176,.035), 0 0 0 64px rgba(21,88,176,.025); }
.bs-page-intro h1 { max-width: 880px; margin: 0 0 16px; color: var(--bs-navy); font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.05em; line-height: 1.06; }
.bs-page-intro p { max-width: 740px; color: var(--bs-muted); font-size: 1.12rem; }
.bs-page-content { padding: clamp(40px, 6vw, 72px) 0; }
.bs-page-content > section { margin-block: 52px; }
.bs-page-content > section:first-child { margin-top: 0; }
.bs-page-content > section:last-child { margin-bottom: 0; }
.bs-prose { max-width: 800px; }
.bs-prose p { margin: 0 0 1.15em; }
.bs-faq { padding: 20px 0; border-bottom: 1px solid var(--bs-line); }
.bs-faq h3 { margin-bottom: 8px; }
.bs-faq p { margin: 0; }
.bs-form { display: grid; gap: 14px; max-width: 640px; }
.bs-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.bs-field label { display: block; margin-bottom: 5px; color: var(--bs-navy); font-size: 14px; font-weight: 700; }
.bs-field input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #b8c6d6; border-radius: 9px; color: var(--bs-ink); background: white; }
.bs-result { min-height: 32px; margin: 16px 0 0; color: var(--bs-navy); font-weight: 750; }
.bs-note { padding: 15px 18px; border-left: 4px solid var(--bs-orange); color: var(--bs-muted); background: #fff8eb; font-size: 14px; }
.bs-footer { padding: 52px 0 22px; color: rgba(255,255,255,.78); background: #06152d; }
.bs-footer h2, .bs-footer h3 { color: white; }
.bs-footer a { color: white; }
.bs-footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.bs-footer-brand { display: inline-flex; align-items: center; gap: 12px; color: white; text-decoration: none; }
.bs-footer-brand img { width: 70px; height: 70px; object-fit: contain; background: white; border-radius: 8px; }
.bs-footer-links { display: grid; gap: 8px; padding: 0; list-style: none; }
.bs-footer-links a { text-decoration: none; }
.bs-footer-bottom { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; }
.bs-footer-bottom p { margin: 0; }
.bs-empty { padding: 58px 0; }

@media (max-width: 980px) {
	.bs-header-inner { gap: 16px; }
	.bs-header-cta { display: none; }
	.bs-nav ul { gap: 4px 14px; }
	.bs-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.bs-hero-layout { grid-template-columns: minmax(0,1fr) minmax(270px,.86fr); gap: 28px; }
	.bs-hero-art { min-height: 340px; }
}
@media (max-width: 720px) {
	.bs-container { width: min(100% - 28px, 560px); }
	.bs-header-inner { min-height: 88px; flex-wrap: wrap; }
	.bs-brand img { width: 88px; height: 82px; }
	.bs-brand-text strong { font-size: 15px; }
	.bs-menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--bs-line); border-radius: 10px; color: var(--bs-navy); background: white; font-weight: 700; }
	.bs-nav { display: none; order: 3; width: 100%; margin: 0; padding: 0 0 14px; }
	.bs-nav.is-open { display: block; }
	.bs-nav ul { display: grid; gap: 0; }
	.bs-nav li { border-top: 1px solid var(--bs-line); }
	.bs-nav a { display: block; padding: 10px 2px; }
	.bs-nav .sub-menu { position: static; display: flex; min-width: 0; padding: 0 0 6px 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
	.bs-grid, .bs-grid--2, .bs-split, .bs-footer-main, .bs-hero-layout { grid-template-columns: 1fr; }
	.bs-hero { padding: 54px 0 58px; }
	.bs-hero:not(.bs-hero--home) { padding-bottom: 274px; }
	.bs-hero:not(.bs-hero--home)::before { top: auto; right: 14px; bottom: 12px; width: min(82%, 410px); transform: none; }
	.bs-hero h1 { font-size: clamp(2.4rem, 13vw, 3.7rem); }
	.bs-hero-art { min-height: clamp(250px, 76vw, 390px); transform: none; }
	.bs-proofbar-inner { grid-template-columns: 1fr; }
	.bs-proof-item, .bs-proof-item:first-child { padding: 15px 0; border-right: 0; border-bottom: 1px solid var(--bs-line); }
	.bs-proof-item:last-child { border-bottom: 0; }
	.bs-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
	.bs-hero-art { animation: none; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (prefers-reduced-motion: no-preference) {
	.bs-hero-art { animation: bs-float 7s ease-in-out infinite; }
	.bs-hero-art__badge::before { animation: bs-pulse 2.4s ease-in-out infinite; }
	@keyframes bs-float { 0%,100% { transform: perspective(1100px) rotateY(-4deg) translateY(0); } 50% { transform: perspective(1100px) rotateY(-4deg) translateY(-8px); } }
	@keyframes bs-pulse { 0%,100% { box-shadow: 0 0 7px #ffb323; } 50% { box-shadow: 0 0 18px #ffb323; } }
}
