/*
Theme Name: Brightr Group
Theme URI: https://brightrgroup.com
Author: Brightr Group
Description: Brightr Group Custom WordPress theme.
Version: 1.0.0
Text Domain: brightr
*/

/* Regular 400 */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
}

/* Medium 500 */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2');
}

/* Semi-Bold 600 */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
}

/* Bold 700 */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
}

:root {
  --font-main: 'Plus Jakarta Sans';
  --blue: #29A9E0; 
  --blue-dk: #1B7BA8; 
  --blue-lt: #EAF6FC; 
  --ink: #12303F; 
  --ink2: #4A6674;  
  --yellow: #FBC02D; 
  --line: #DCE7ED; 
  --grey: #F6F9FB; 
  --green: #2E7D5B; 
  --red: #B3462F;

  /* Overrides Elementor's default global system colors */
  --e-global-color-primary: var(--blue) !important;
  --e-global-color-secondary: var(--blue-dk) !important;
  --e-global-color-text: var(--ink) !important;
  --e-global-color-accent: var(--yellow) !important;
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body {
  font-family: var(--font-main), -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;  
  color: var(--ink);
  background: #EDF1F4;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Page Step Visibility for Multi-Step Form */
.flow .step,
.flow .step-step { 
  display: none !important; 
}

.step {
  display: none !important;
}

/* Force Step 1 / Active Steps to display */
.step.on {
  display: block !important;
}

/* Ensure general WordPress wrappers are visible */
.site-main,
.entry-content {
  display: block;
}

/* Chrome Wrapper */
.frame {
  max-width: 1080px;
  margin: 14px auto 40px;
  background: #fff;
  border-radius: 10px;  
  box-shadow: 0 6px 30px rgba(18,48,63,.13);
  overflow: visible; /* Changed from hidden to visible so header dropdowns don't get clipped */
}

.urlbar {
  background: #E7EDF1;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #D3DDE4;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.dot { 
  width: 10px; 
  height: 10px; 
  border-radius: 50%; 
  background: #C9D6DE; 
}

.url { 
  flex: 1; 
  background: #fff; 
  border-radius: 20px; 
  padding: 5px 14px; 
  font-size: 12px; 
  color: #6B8393; 
}

/* Header & Branding */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 34px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 100;
}

.logo-container {
  margin: 0 !important;
  text-align: left !important;
  display: flex;
  align-items: center;
}

.logo-container a, 
.logo-container img {
  margin: 0 !important;
}

.custom-logo-link {
  display: inline-block;
  flex-shrink: 0;
  line-height: 0;
  max-width: 100%;
}

.custom-logo {
  display: block;
  width: 220px !important;
  max-width: 100% !important;
  height: auto;
}

.logo {
  font-size: 30px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -.02em;
  position: relative;
  cursor: pointer;
}

.logo i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  top: 5px;
  left: 31px;
}

nav { 
  display: flex; 
  align-items: center; 
  gap: 22px; 
  font-size: 14px; 
  font-weight: 600; 
  color: var(--ink2); 
}

nav a { 
  cursor: pointer; 
  text-decoration: none; 
  color: inherit; 
}

nav a:hover { 
  color: var(--blue); 
}

.quote-header nav {
  margin-left: auto;
}

/* ==========================================================================
   Active / Current Page Highlighting
   ========================================================================== */

/* 1. Direct active link (Desktop & Mobile) */
.main-navigation .current-menu-item > a,
.main-navigation .current-page-item > a,
.main-navigation li.active > a {
  color: var(--blue) !important;
  font-weight: 700;
}

/* 2. Highlight active parent item when viewing a submenu child page */
.main-navigation .current-menu-parent > a,
.main-navigation .current-page-ancestor > a,
.main-navigation li.parent-active > a {
  color: var(--blue) !important;
  font-weight: 700;
}

/* 3. Keep the arrow indicator colored for active parent items */
.main-navigation .current-menu-parent > a::after,
.main-navigation .current-page-ancestor > a::after,
.main-navigation li.parent-active > a::after {
  border-color: var(--blue) !important;
}

/* 4. Submenu active item highlight */
.main-navigation ul .sub-menu li.current-menu-item > a,
.main-navigation ul .sub-menu li.active > a {
  background-color: var(--blue-lt);
  color: var(--blue-dk) !important;
  font-weight: 700;
}

/* Navigation Layout & Submenu Rules */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  width: 100%;
  position: relative;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333333;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.main-navigation {
  margin-left: auto;
}

.main-navigation .nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.0rem;
  align-items: center;
}

.main-navigation li {
  position: relative;
}

/* Submenu / Dropdown Styling */
.main-navigation ul .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(18, 48, 63, 0.12);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 1000;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  list-style: none;
  margin-top: 8px;
}

.main-navigation ul .sub-menu li {
  width: 100%;
}

.main-navigation ul .sub-menu li a {
  padding: 10px 18px;
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink2);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.main-navigation ul .sub-menu li a:hover {
  background-color: var(--blue-lt);
  color: var(--blue-dk);
}

/* Toggle States for Submenu */
.main-navigation li.menu-item-has-children.is-open > .sub-menu {
  
  display: flex;
}

/* Dropdown Arrow Indicator */
.main-navigation .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.main-navigation .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--ink2);
  border-bottom: 2px solid var(--ink2);
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
  margin-bottom: 2px;
}

.main-navigation .menu-item-has-children > a:hover::after {
  border-color: var(--blue);
}

.main-navigation .menu-item-has-children.is-open > a::after {
  transform: rotate(-135deg);
  margin-bottom: -2px;
  border-color: var(--blue);
}

/* Buttons */
.btn {
  background: var(--blue);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;  
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}

.btn:hover { 
  background: var(--blue-dk); 
}

.btn.big { 
  font-size: 16px; 
  padding: 15px 30px; 
}

.btn.ghost { 
  background: #fff; 
  color: var(--ink); 
  border: 1.5px solid var(--line); 
}

.btn.ghost:hover { 
  background: var(--grey); 
  color: var(--ink); 
}

.btn:disabled { 
  opacity: .4; 
  cursor: not-allowed; 
}

/* Hero Section */
.hero { 
  display: grid; 
  grid-template-columns: 1.05fr 1fr; 
  gap: 0; 
  align-items: stretch; 
}

.hero .l { 
  padding: 24px 34px; 
  background: var(--blue-lt); 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
}

.kick { 
  font-size: 12px; 
  font-weight: 800; 
  letter-spacing: .16em; 
  text-transform: uppercase; 
  color: var(--blue-dk); 
  margin-bottom: 14px; 
}

h1 { 
  font-size: 38px; 
  line-height: 1.12; 
  letter-spacing: -.02em; 
  margin-bottom: 16px; 
}

.lede { 
  font-size: 16px; 
  color: var(--ink2); 
  margin-bottom: 12px; 
}

.trust { 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
  font-size: 13px; 
  font-weight: 600; 
  color: var(--ink2); 
  margin-bottom: 22px; 
}

.trust span { 
  display: flex; 
  align-items: center; 
  gap: 6px; 
}

.tick { 
  color: var(--green); 
  font-weight: 800; 
}

.ctas { 
  display: flex; 
  gap: 11px; 
  flex-wrap: wrap; 
}

.hero .r { 
  background: #DDE8EE; 
  position: relative; 
  min-height: 340px; 
  overflow: hidden; 
}

/* Before/After Slider */
.ba { 
  position: absolute; 
  inset: 0; 
}

.ba .img { 
  position: absolute; 
  inset: 0; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 15px; 
  font-weight: 700; 
  color: #fff; 
  letter-spacing: .04em; 
}

.ba .before { 
  background: linear-gradient(140deg,#8A9AA3,#6D7C85); 
}

.ba .after { 
  background: linear-gradient(140deg,#4FC0EE,#1B7BA8); 
  clip-path: inset(0 0 0 50%); 
}

.ba .handle { 
  position: absolute; 
  top: 0; 
  bottom: 0; 
  left: 50%; 
  width: 3px; 
  background: #fff; 
  box-shadow: 0 0 8px rgba(0,0,0,.3); 
}

.ba .knob { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%,-50%); 
  width: 38px; 
  height: 38px; 
  border-radius: 50%; 
  background: #fff; 
  box-shadow: 0 2px 10px rgba(0,0,0,.3); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 13px; 
  color: var(--ink); 
}

.ba input { 
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  opacity: 0; 
  cursor: ew-resize; 
}

.balab { 
  position: absolute; 
  bottom: 14px; 
  font-size: 11px; 
  font-weight: 800; 
  letter-spacing: .1em; 
  text-transform: uppercase; 
  background: rgba(255,255,255,.92); 
  padding: 5px 11px; 
  border-radius: 3px; 
  color: var(--ink); 
}

/* General Content Blocks */
section.blk { 
  padding: 44px 34px; 
  border-top: 1px solid var(--line); 
}

.h2 { 
  font-size: 25px; 
  letter-spacing: -.015em; 
  margin-bottom: 6px; 
}

.sub { 
  font-size: 14.5px; 
  color: var(--ink2); 
  margin-bottom: 24px; 
}

.cards { 
  display: grid; 
  grid-template-columns: repeat(3,1fr); 
  gap: 16px; 
}

.card { 
  border: 1.5px solid var(--line); 
  border-radius: 8px; 
  padding: 20px; 
  display: flex; 
  flex-direction: column; 
}

.card.pick { 
  border-color: var(--blue); 
  box-shadow: 0 0 0 3px var(--blue-lt); 
}

.tag { 
  display: inline-block; 
  background: var(--blue); 
  color: #fff; 
  font-size: 10.5px; 
  font-weight: 800; 
  letter-spacing: .1em; 
  text-transform: uppercase; 
  padding: 3px 9px; 
  border-radius: 3px; 
  margin-bottom: 10px; 
  align-self: flex-start; 
}

.tag.g { 
  background: var(--grey); 
  color: var(--ink2); 
}

.card h3 { 
  font-size: 18px; 
  margin-bottom: 5px; 
}

.price { 
  font-size: 29px; 
  font-weight: 800; 
  color: var(--blue-dk); 
  margin: 8px 0 3px; 
  letter-spacing: -.02em; 
}

.price small { 
  font-size: 13px; 
  font-weight: 600; 
  color: var(--ink2); 
}

.card ul { 
  list-style: none; 
  margin: 12px 0 16px; 
  font-size: 13.5px; 
  color: var(--ink2); 
}

.card li { 
  padding-left: 20px; 
  position: relative; 
  margin-bottom: 7px; 
}

.card li:before { 
  content: "✓"; 
  position: absolute; 
  left: 0; 
  color: var(--green); 
  font-weight: 800; 
}

.card .btn { 
  margin-top: auto; 
}

.revs { 
  display: grid; 
  grid-template-columns: repeat(3,1fr); 
  gap: 16px; 
  margin-bottom: 20px; 
}

.rev { 
  background: var(--grey); 
  border-radius: 8px; 
  padding: 17px; 
  font-size: 13.5px; 
  color: var(--ink2); 
}

.stars { 
  color: var(--yellow); 
  font-size: 15px; 
  letter-spacing: 2px; 
  margin-bottom: 7px; 
}

.rev b { 
  display: block; 
  color: var(--ink); 
  font-size: 13px; 
  margin-top: 9px; 
}

.towns { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 8px; 
}

.towns a { 
  background: var(--blue-lt); 
  color: var(--blue-dk); 
  font-size: 13px; 
  font-weight: 600; 
  padding: 7px 14px; 
  border-radius: 20px; 
  text-decoration: none; 
}

.bignum { 
  display: flex; 
  gap: 36px; 
  flex-wrap: wrap; 
  margin-bottom: 22px; 
}

.bignum div b { 
  display: block; 
  font-size: 28px; 
  font-weight: 800; 
  color: var(--blue-dk); 
  letter-spacing: -.02em; 
}

.bignum div span { 
  font-size: 12.5px; 
  color: var(--ink2); 
  font-weight: 600; 
}

/* Footer */
footer { 
  background: var(--ink); 
  color: #A8C3D1; 
  padding: 30px 34px; 
  font-size: 13px; 
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

footer b { 
  color: #fff; 
}

.footgrid { 
  display: grid; 
  grid-template-columns: repeat(4,1fr); 
  gap: 22px; 
  margin-bottom: 20px; 
}

.footgrid div a {
	color: #A8C3D1;
}

/* Dedicated Quote Flow Container */
.flow {
  width: 100%;
  max-width: 640px;
  margin: 32px auto;
  padding: 38px 28px 44px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(18, 48, 63, 0.08);
}

.steps { 
  display: flex; 
  gap: 8px; 
  margin-bottom: 26px; 
}

.steps div { 
  flex: 1; 
  height: 5px; 
  border-radius: 3px; 
  background: var(--line); 
}

.steps div.on { 
  background: var(--blue); 
}

.stepno { 
  font-size: 12px; 
  font-weight: 800; 
  letter-spacing: .14em; 
  text-transform: uppercase; 
  color: var(--blue); 
  margin-bottom: 8px; 
}

.flow h2 { 
  font-size: 25px; 
  letter-spacing: -.02em; 
  margin-bottom: 6px; 
}

.flow .sub { 
  margin-bottom: 24px; 
}

label { 
  display: block; 
  font-size: 13px; 
  font-weight: 700; 
  margin-bottom: 6px; 
  margin-top: 16px; 
}

input[type=text], 
input[type=email], 
input[type=tel] {
  width: 100%; 
  padding: 13px 14px; 
  border: 1.5px solid var(--line); 
  border-radius: 7px; 
  font-size: 16px; 
  font-family: inherit; 
  color: var(--ink);
}

input:focus { 
  outline: none; 
  border-color: var(--blue); 
}

.opts { 
  display: grid; 
  grid-template-columns: repeat(4,1fr); 
  gap: 9px; 
}

.opts.c3 { 
  grid-template-columns: repeat(3,1fr); 
}

.opts.c5 { 
  grid-template-columns: repeat(5,1fr); 
}

.opt {
  border: 1.5px solid var(--line); 
  border-radius: 8px; 
  padding: 14px 8px; 
  text-align: center; 
  cursor: pointer; 
  font-size: 13px; 
  font-weight: 600; 
  background: #fff; 
  transition: .12s;
}

.opt:hover { 
  border-color: var(--blue); 
}

.opt.sel { 
  border-color: var(--blue); 
  background: var(--blue-lt); 
  color: var(--blue-dk); 
}

.opt .ic { 
  display: block; 
  font-size: 24px; 
  margin-bottom: 5px; 
}

.opt .pop { 
  display: block; 
  font-size: 10px; 
  font-weight: 800; 
  letter-spacing: .06em; 
  text-transform: uppercase; 
  color: var(--blue); 
  margin-top: 4px; 
}

.extras { 
  display: flex; 
  flex-direction: column; 
  gap: 9px; 
}

.ex { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  border: 1.5px solid var(--line); 
  border-radius: 8px; 
  padding: 13px 15px; 
  cursor: pointer; 
  font-size: 14px; 
  font-weight: 600; 
}

.ex.sel { 
  border-color: var(--blue); 
  background: var(--blue-lt); 
}

.ex em { 
  font-style: normal; 
  color: var(--ink2); 
  font-weight: 600; 
  font-size: 13.5px; 
}

.nav { 
  display: flex; 
  gap: 10px; 
  margin-top: 26px; 
}

.nav .btn { 
  flex: 1; 
}

.tiny { 
  font-size: 12px; 
  color: var(--ink2); 
  margin-top: 12px; 
}

.result { 
  background: var(--blue-lt); 
  border: 2px solid var(--blue); 
  border-radius: 12px; 
  padding: 26px; 
  text-align: center; 
  margin-bottom: 20px; 
}

.result .lab { 
  font-size: 12px; 
  font-weight: 800; 
  letter-spacing: .14em; 
  text-transform: uppercase; 
  color: var(--blue-dk); 
  margin-bottom: 10px; 
}

.result .amt { 
  font-size: 47px; 
  font-weight: 800; 
  color: var(--ink); 
  letter-spacing: -.03em; 
  line-height: 1; 
}

.result .per { 
  font-size: 15px; 
  color: var(--ink2); 
  margin-top: 8px; 
  font-weight: 600; 
}

.rows { 
  border: 1.5px solid var(--line); 
  border-radius: 8px; 
  overflow: hidden; 
  margin-bottom: 18px; 
}

.row { 
  display: flex; 
  justify-content: space-between; 
  padding: 12px 16px; 
  font-size: 14px; 
  border-bottom: 1px solid var(--line); 
}

.row:last-child { 
  border-bottom: none; 
}

.row span:first-child { 
  color: var(--ink2); 
}

.row span:last-child { 
  font-weight: 700; 
}

.promise { 
  background: #E9F5EF; 
  border-left: 4px solid var(--green); 
  padding: 14px 17px; 
  border-radius: 6px; 
  font-size: 14px; 
  margin-bottom: 18px; 
}

.promise b { 
  color: var(--ink); 
}

/* Commercial Page */
.comm-hero { 
  background: var(--ink); 
  color: #fff; 
  padding: 52px 34px; 
}

.comm-hero h1 { 
  color: #fff; 
  max-width: 720px; 
}

.comm-hero .lede { 
  color: #A8C3D1; 
  max-width: 640px; 
}

.logos { 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap; 
  margin-top: 24px; 
}

.logos div { 
  background: rgba(255,255,255,.1); 
  border: 1px solid rgba(255,255,255,.2); 
  border-radius: 6px; 
  padding: 11px 18px; 
  font-size: 13.5px; 
  font-weight: 700; 
  color: #fff; 
}

.comp { 
  display: grid; 
  grid-template-columns: repeat(4,1fr); 
  gap: 14px; 
}

.comp div { 
  background: var(--grey); 
  border-radius: 8px; 
  padding: 16px; 
}

.comp b { 
  display: block; 
  font-size: 15px; 
  margin-bottom: 4px; 
}

.comp span { 
  font-size: 13px; 
  color: var(--ink2); 
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .custom-logo {
    max-height: 45px;
  }

  .menu-toggle {
    display: flex !important;
    margin-left: auto !important;
    padding: 0.5rem;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100% !important;
    margin-left: 0 !important;
    background-color: #ffffff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    display: none;
    padding: 1.5rem 0;
    z-index: 1000;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .main-navigation.is-active {
    display: flex !important;
  }

  .main-navigation .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    width: 100%;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
  }

  /* Responsive Submenu Accordion Style */
  .main-navigation ul .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--grey);
    border-radius: 6px;
    width: 100%;
    margin-top: 6px;
    padding: 0.25rem 0;
  }

  .main-navigation ul .sub-menu li a {
    text-align: center;
    padding: 8px 12px;
  }

  .main-navigation > a,
  .main-navigation > button,
  .main-navigation > .btn,
  .main-navigation > .header-cta {
    margin-top: 1.25rem !important;
    align-self: center !important;
    display: inline-block !important;
    text-align: center !important;
  }

  .menu-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 820px) {
  .hero { 
    grid-template-columns: 1fr; 
  }
  .cards, 
  .revs, 
  .footgrid, 
  .comp { 
    grid-template-columns: 1fr; 
  }
  .opts { 
    grid-template-columns: repeat(2, 1fr); 
  }
  h1 { 
    font-size: 29px; 
  }
}

/* Elementor Integration */
.elementor-fullwidth-container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.elementor-page .site-main {
  width: 100%;
}

/* Solar Panel Dropdown Card Styling */
/* Custom Dropdown Styling */
.ex.ex-dropdown {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.ex-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.ex-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  max-height: 240px;
  overflow-y: auto;
  z-index: 100;
  padding: 6px;
}

.ex-dropdown-menu.open {
  display: block;
}

.ex-dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 8px;
  color: #334155;
  transition: background-color 0.15s ease;
}

.ex-dropdown-item:hover {
  background-color: #f1f5f9;
}

.ex-dropdown-item.sel {
  background-color: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
}

/* Tooltip Icon Container */
.info-pop {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  cursor: pointer;
  vertical-align: middle;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.info-pop:hover,
.info-pop:focus,
.info-pop.active {
  background-color: #0284c7;
  color: #ffffff;
}

/* Tooltip Popup Box */
.info-pop .tooltip-box {
  visibility: hidden;
  opacity: 0;
  width: 240px;
  background-color: #0f172a;
  color: #f8fafc;
  text-align: left;
  border-radius: 8px;
  padding: 10px 12px;
  position: absolute;
  z-index: 200;
  bottom: 125%; /* Position above icon */
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

/* Arrow indicator on bottom of tooltip */
.info-pop .tooltip-box::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
}

/* Show on Hover, Focus, or Click Active class */
.info-pop:hover .tooltip-box,
.info-pop:focus .tooltip-box,
.info-pop.active .tooltip-box {
  visibility: visible;
  opacity: 1;
}

/* Disabled button state */
.btn.loading,
.btn:disabled {
  background-color: #94a3b8 !important;
  color: #ffffff !important;
  cursor: not-allowed;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Spinner Icon */
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Message Box */
.quote-success-box {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
}

.quote-success-box h3 {
  color: #166534;
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
}

.quote-success-box p {
  color: #15803d;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Spinner & Loading State */
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Hard override for greyed-out button */
button.btn-is-loading {
  background-color: #94a3b8 !important;
  border-color: #94a3b8 !important;
  color: #ffffff !important;
  opacity: 0.8 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* ================= COMMERCIAL MODAL STYLING ================= */
.comm-modal-overlay {
  display: none; /* toggled to flex via JS */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  
  /* Critical for mobile scrolling */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* Smooth iOS momentum scrolling */
  padding: 16px; /* Prevents card from touching screen edges */
  box-sizing: border-box;
}

.comm-modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px); /* Prevents overflow past viewport */
  overflow-y: auto; /* Internal scroll if modal content exceeds viewport height */
  margin: auto; /* Keeps centered when short, allows top spacing when long */
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-sizing: border-box;
}

/* Ensure form controls scale within mobile width */
@media (max-width: 600px) {
  .comm-modal-card {
    padding: 20px 16px;
  }
  
  .comm-form-row {
    flex-direction: column;
    gap: 12px;
  }
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.comm-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  padding: 8px; /* Larger touch target for mobile thumbs */
}

.comm-modal-close:hover {
  color: #0f172a;
}

.comm-modal-header {
  text-align: left;
  margin-bottom: 24px;
}

.comm-modal-header h3 {
  margin: 6px 0 8px 0;
  font-size: 22px;
  color: #0f172a;
}

.comm-modal-header p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.4;
}

.comm-form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 16px;
}

.comm-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.comm-form-group input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.comm-form-group input:focus {
  outline: none;
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.comm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .comm-form-row {
    grid-template-columns: 1fr;
  }
}

.comm-submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spinner Animation */
.btn-spinner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spinner-svg {
  animation: rotate 1.5s linear infinite;
  width: 18px;
  height: 18px;
}

.spinner-svg .path {
  stroke: #ffffff;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes dash {
  0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* Success Box */
.comm-success-box {
  text-align: center;
  padding: 20px 10px;
}

.comm-success-icon {
  width: 52px;
  height: 52px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 28px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.comm-success-box h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: #0f172a;
}

.comm-success-box p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* ================= TRUSTPILOT CAROUSEL STYLES ================= */
.tp-carousel-header {
  margin-bottom: 20px;
}

.tp-brand-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

.tp-star-icon {
  color: #00b67a;
  font-size: 26px;
}

.tp-overall-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 14px;
  color: #4b5563;
}

.tp-score {
  font-weight: 800;
  font-size: 18px;
  color: #111827;
}

/* Green Square Stars */
.tp-stars-row {
  display: flex;
  gap: 2px;
}

.tp-star-box {
  background: #00b67a;
  color: #ffffff;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border-radius: 2px;
}

.tp-stars-row.sm .tp-star-box {
  width: 16px;
  height: 16px;
  font-size: 11px;
}

/* Mobile Swipe Hint (Hidden by default on Desktop) */
.tp-swipe-hint {
  display: none;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 12px;
  font-weight: 500;
}

/* Carousel Outer Shell & Nav Buttons */
.tp-carousel-wrapper {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

.tp-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  font-size: 22px;
  line-height: 1;
  color: #374151;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
}

.tp-nav-btn:hover {
  background: #00b67a;
  color: #ffffff;
  border-color: #00b67a;
}

.tp-nav-btn.prev { left: 0; }
.tp-nav-btn.next { right: 0; }

/* Scrollable Track */
.tp-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 16px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar Firefox */
}

.tp-carousel-track::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

/* Individual Review Card (Strict 250px width on desktop) */
.tp-card {
  flex: 0 0 250px;
  width: 250px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.tp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tp-time {
  font-size: 11px;
  color: #9ca3af;
}

.tp-review-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.tp-review-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: #475569;
  margin: 0 0 14px 0;
  flex-grow: 1;
}

.tp-reviewer {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

.tp-reviewer strong {
  font-size: 12.5px;
  color: #1e293b;
}

.tp-verified-check {
  font-size: 11px;
  color: #00b67a;
  font-weight: 600;
  margin-top: 2px;
}

.tp-profile-link {
  display: inline-block;
  font-size: 13px;
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
}

.tp-profile-link strong {
  color: #00b67a;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .tp-swipe-hint {
    display: block; /* Shows swipe hint text on mobile */
  }

  .tp-carousel-wrapper {
    padding: 0;
  }

  .tp-nav-btn {
    display: none; /* Hide arrow buttons on mobile screens */
  }

  /* 80vw forces 1st card to fill 80% screen width, leaving 20% for card 2 preview */
  .tp-card {
    flex: 0 0 60vw;
    width: 60vw;
  }

  .tp-carousel-track {
    padding-left: 16px;
    padding-right: 16px;
  }
}


/* ================= SOLAR CASE STUDY IMAGES ================= */
.solar-case-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.solar-img-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.solar-img-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.solar-img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.solar-img-badge.before {
  background: #e11d48; /* Red badge */
}

.solar-img-badge.after {
  background: #00b67a; /* Green badge */
}

.solar-img-caption {
  padding: 12px 16px;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #475569;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

/* Collapse into a single column on mobile devices */
@media (max-width: 640px) {
  .solar-case-images {
    grid-template-columns: 1fr; /* Single column */
    gap: 16px;
  }

  .solar-img-card img {
    height: 200px; /* Slightly compact height on phones */
  }
}

/* ================= LEGAL / TERMS PAGE STYLES ================= */
.legal-intro-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #7fc4ee;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.legal-intro-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.legal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.legal-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}

.legal-icon {
  font-size: 20px;
}

.legal-card-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.legal-card ul {
  margin: 0;
  padding-left: 18px;
}

.legal-card li {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 10px;
}

.legal-card li:last-child {
  margin-bottom: 0;
}

/* Contact Footer Card */
.legal-contact-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
  text-align: center;
}

.legal-contact-card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #0f172a;
}

.legal-contact-card p {
  margin: 0 0 16px 0;
  font-size: 13.5px;
  color: #64748b;
}

.legal-contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: #334155;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .legal-card {
    padding: 18px;
  }
  .legal-contact-details {
    flex-direction: column;
    gap: 8px;
  }
}

/* ================= CONTACT PAGE STYLES ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.contact-card-main {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
}

.contact-card-main h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: #0f172a;
}

.contact-card-main > p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.contact-methods {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-methods li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.c-icon {
  font-size: 20px;
  background: #f1f5f9;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.contact-methods div {
  display: flex;
  flex-direction: column;
}

.contact-methods strong {
  font-size: 12.5px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-methods a, 
.contact-methods span:not(strong) {
  font-size: 15px;
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  margin-top: 2px;
}

.contact-methods a:hover {
  color: #00b67a;
}

/* Trust Box */
.contact-trust-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.contact-trust-box h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
  color: #0f172a;
}

.contact-trust-box p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

/* Form Column Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.form-card-header {
  margin-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 16px;
}

.form-card-header h3 {
  margin: 0 0 6px 0;
  font-size: 20px;
  color: #0f172a;
}

.form-card-header p {
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
}

/* ================= CONTACT FORM 7 PRETTY OVERRIDES ================= */
.contact-form-card form label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.contact-form-card form input[type="text"],
.contact-form-card form input[type="email"],
.contact-form-card form input[type="tel"],
.contact-form-card form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.contact-form-card form input:focus,
.contact-form-card form textarea:focus {
  outline: none;
  border-color: #7fc4ee;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(127, 196, 238, 0.15);
}

.contact-form-card form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-card form input[type="submit"] {
  display: inline-block;
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.contact-form-card form input[type="submit"]:hover {
  background: #00b67a;
}

/* CF7 Response Message Tweaks */
.contact-form-card form .wpcf7-response-output {
  margin: 16px 0 0 0 !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  border-radius: 6px !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-form-card {
    padding: 20px;
  }
}


/* ================= RECRUITMENT JOB CARD STYLES ================= */
.job-card-wrapper {
  max-width: 800px;
  margin: 0 auto;
  font-family: inherit;
}

.job-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.job-badge {
  background: #f0fdf4;
  color: #00b67a;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-location {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.job-card h3 {
  margin: 0 0 12px 0;
  font-size: 22px;
  color: #0f172a;
  font-weight: 700;
}

.job-blurb {
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 24px 0;
}

.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
}

.job-perks {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.job-btn {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
  display: inline-block;
}

.job-btn:hover {
  background: #00b67a;
  color: #ffffff;
}

/* Mobile Adjustments */
@media (max-width: 640px) {
  .job-card {
    padding: 20px;
  }
  .job-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .job-btn {
    text-align: center;
  }
}

/* ================= JOB POSTING & APPLICATION PAGE STYLES ================= */
.job-posting-container {
  max-width: 1100px;
  margin: 0 auto;
  font-family: inherit;
  color: #334155;
}

.job-hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.job-meta-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.badge-tag {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-tag.primary {
  background: #f0fdf4;
  color: #00b67a;
  border: 1px solid #bbf7d0;
}

.badge-tag.dark {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.job-hero-card h1 {
  margin: 0 0 8px 0;
  font-size: 30px;
  color: #0f172a;
  font-weight: 800;
}

.job-company-sub {
  margin: 0;
  font-size: 15px;
  color: #64748b;
  font-weight: 600;
}

.job-content-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}

.job-details-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.job-section-card h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  color: #0f172a;
  font-weight: 700;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.job-section-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

.job-check-list {
  margin: 0;
  padding-left: 18px;
}

.job-check-list li {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 10px;
}

.job-check-list li:last-child {
  margin-bottom: 0;
}

/* Form Column Styling */
.job-form-col {
  position: sticky;
  top: 24px;
}

.job-application-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.form-card-header {
  margin-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
}

.form-card-header h3 {
  margin: 0 0 4px 0;
  font-size: 20px;
  color: #0f172a;
}

.form-card-header p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

/* Contact Form 7 Form Controls Custom UI */
.job-application-card form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.job-application-card form input[type="text"],
.job-application-card form input[type="email"],
.job-application-card form input[type="tel"],
.job-application-card form select,
.job-application-card form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 13.5px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  margin-bottom: 14px;
  transition: all 0.2s ease;
}

.job-application-card form input:focus,
.job-application-card form select:focus,
.job-application-card form textarea:focus {
  outline: none;
  border-color: #7fc4ee;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(127, 196, 238, 0.15);
}

.job-application-card form textarea {
  min-height: 100px;
  resize: vertical;
}

.job-application-card form .job-submit-btn {
  display: inline-block;
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.job-application-card form .job-submit-btn:hover {
  background: #00b67a;
}

.job-application-card form .wpcf7-response-output {
  margin: 14px 0 0 0 !important;
  padding: 10px !important;
  font-size: 12.5px !important;
  border-radius: 6px !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .job-content-grid {
    grid-template-columns: 1fr;
  }
  .job-form-col {
    position: static;
  }
  .job-hero-card {
    padding: 24px;
  }
}