/* ==========================================================
   JASCO ENERGIES — OFFICIAL STYLESHEET
   Client: JASCO ENERGIES • Revenue Tower, Changanacherry, Kottayam District, Kerala, India
   Tagline: Powering a Brighter Tomorrow.
   Phone / WhatsApp: 9037909794 | Email: info@jascoenergies.com
   Brand Theme:
     - Professional Green & White Corporate Design
     - Energy Green (#00a651 / #007a3b / #10b981) & Solar Gold Accent (#ffb800)
     - Crisp White & Soft Mint Surfaces (#ffffff / #f0fdf4 / #f8fafc)
   ========================================================== */

:root {
  /* Brand Green (Replacing Blue) */
  --green: #00a651;
  --green-dark: #007a3b;
  --green-deep: #03180c;
  --green-very-dark: #021208;
  --green-light: #10b981;
  --green-soft: #ecfdf5;
  --green-border: #a7f3d0;
  --green-glow: rgba(0, 166, 81, 0.25);

  /* Legacy aliases mapping Blue to Green */
  --blue: #00a651;
  --navy: #007a3b;
  --navy-dark: #000000;
  --pale: #f0fdf4;
  --deep: #000000;

  /* Brand Sun & Gold */
  --sun: #ffb800;
  --sun-hover: #ffa000;
  --sun-orange: #ff7a00;
  --sun-soft: #fffbeb;
  --sun-border: #fde68a;
  --gold: #ffd200;

  /* Theme Surfaces (Clean & Bright, Not Full Black) */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f0fdf4;
  --bg-dark: #000000;
  --bg-dark-accent: #05140b;

  /* Text & Readability */
  --ink: #0f172a;
  --ink-light: #334155;
  --muted: #64748b;
  --border-subtle: #e2e8f0;
  --border-focus: #00a651;

  /* Fonts */
  --body: 'DM Sans', sans-serif;
  --heading: 'Sora', sans-serif;
}

html[lang="ml"] {
  --body: 'Noto Sans Malayalam', 'DM Sans', sans-serif;
  --heading: 'Noto Sans Malayalam', 'Sora', sans-serif;
}

/* ==========================================================
   BASE & RESET
   ========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  background: var(--bg-page);
  color: var(--ink-light);
  font: 16px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}

svg {
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}

button, input, select, textarea {
  font: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--heading);
  line-height: 1.25;
  color: var(--ink);
  margin-top: 0;
}

p {
  margin-top: 0;
  line-height: 1.7;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.container, .jr-container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: #000;
  color: var(--sun);
  font-weight: 700;
  border: 2px solid var(--sun);
  border-radius: 6px;
}

/* ==========================================================
   SHARED SECTION COMPONENTS
   ========================================================== */
.section {
  padding: 85px 0;
  background: #ffffff;
}

.alt, .section.alt {
  background: var(--bg-alt);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 40px;
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid var(--green-border);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.title, .section-title {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.6vw, 2.65rem);
  font-weight: 800;
}

.title span, .section-title span {
  color: var(--green);
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--ink-light);
  max-width: 760px;
}

.narrow {
  max-width: 760px;
}

.center {
  margin-inline: auto;
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 0;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

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

/* Solar Golden Yellow CTA */
.btn-sun {
  background: linear-gradient(135deg, #ffb800 0%, #ff7a00 100%);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(255, 122, 0, 0.35);
}
.btn-sun:hover {
  background: linear-gradient(135deg, #ffc700 0%, #ff8c00 100%);
  box-shadow: 0 6px 24px rgba(255, 122, 0, 0.45);
  color: #000000;
}

/* Logo Green CTA */
.btn-green {
  background: linear-gradient(135deg, #00a651 0%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 166, 81, 0.35);
}
.btn-green:hover {
  background: linear-gradient(135deg, #05b259 0%, #047857 100%);
  box-shadow: 0 6px 24px rgba(0, 166, 81, 0.45);
  color: #ffffff;
}

/* Outline Buttons */
.btn-ghost {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--green);
  color: #ffffff;
}

.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
}
.btn-outline:hover {
  background: #ffffff;
  color: var(--ink);
}

/* ==========================================================
   TOPBAR
   Clean, vibrant Green Background
   ========================================================== */
.jr-topbar {
  background: #007a3d;
  background: linear-gradient(90deg, #006834 0%, #008744 50%, #007a3d 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  color: #ffffff;
  font-size: 0.86rem;
}

.jr-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px 16px;
  padding: 8px 0;
}

.jr-topbar-contact {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  min-width: 0;
}

.jr-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffd200;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.jr-topbar-phone:hover {
  color: #ffffff;
}

.jr-topbar-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f0fdf4;
  font-size: 0.84rem;
  white-space: nowrap;
}
.jr-topbar-email:hover {
  color: #ffd200;
}
@media (max-width: 860px) {
  .jr-topbar-email {
    display: none;
  }
}

.jr-topbar-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.jr-topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}
.jr-topbar-social a:hover {
  background: #ffffff;
  color: #007a3d;
  border-color: #ffffff;
}
.jr-topbar-social svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.jr-topbar-social a:first-child svg {
  fill: currentColor;
  stroke: none;
}

.jr-languages {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
}
.jr-languages button {
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 30px;
  background: transparent;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}
.jr-languages button.active,
.jr-languages button:hover {
  border-color: #ffd200;
  background: #ffd200;
  color: #000000;
  font-weight: 800;
}

/* ==========================================================
   HEADER & NAVIGATION
   Crisp clean White Background with Logo Green accents & Dark Ink Navigation
   ========================================================== */
.jr-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 2px solid var(--green);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.jr-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}

.jr-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.jr-logo img {
  height: 78px;
  max-height: 82px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  background: transparent;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .jr-logo img {
    height: 60px;
    max-height: 64px;
    max-width: 200px;
  }
}

.jr-menu {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.3vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.jr-menu a {
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.jr-menu a:hover,
.jr-menu a.current {
  color: var(--green);
}

.jr-has-dropdown {
  position: relative;
}

.jr-has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.jr-dropdown-caret {
  font-size: 0.68rem;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.jr-has-dropdown:hover .jr-dropdown-caret,
.jr-has-dropdown:focus-within .jr-dropdown-caret {
  transform: rotate(180deg);
}

.jr-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  padding: 10px 8px 8px;
  margin: 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid #d1fae5;
  border-top: 3px solid var(--green);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(2, 24, 12, 0.14);
  z-index: 60;
}

.jr-has-dropdown:hover .jr-submenu,
.jr-has-dropdown:focus-within .jr-submenu {
  display: block;
}

.jr-submenu li {
  margin: 0;
}

.jr-submenu a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
}

.jr-submenu a:hover,
.jr-submenu a.current {
  background: var(--green-soft);
  color: var(--green-dark);
}

.jr-menu .jr-quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, #ffb800 0%, #ff7a00 100%);
  color: #000000 !important;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.25);
}

.jr-menu .jr-quote-button:hover {
  background: linear-gradient(135deg, #ffc700 0%, #ff8c00 100%);
  color: #000000 !important;
  text-shadow: none;
}

.jr-menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #1e293b;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

/* ==========================================================
   FOOTER
   Prestigious, deep Very Dark Green Background with 4-Column Contact Bar
   ========================================================== */
.jr-site-footer {
  background: #03180c;
  background: linear-gradient(180deg, #052414 0%, #021208 100%);
  border-top: 3px solid var(--sun);
  color: #d1fae5;
  text-align: left;
}

.jr-contact-bar-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 36px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-col-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.25s ease;
}

.contact-col-item:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: var(--sun);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.contact-col-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-col-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-col-title {
  color: var(--sun);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.contact-col-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.4;
  margin: 0;
  word-break: break-word;
}

.contact-col-text[href^="mailto:"] {
  font-size: 0.80rem;
  word-break: break-all;
}

.contact-col-sub {
  color: #a7f3d0;
  font-size: 0.8rem;
  margin-top: 3px;
}

.jr-site-footer .jr-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 36px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 48px;
}

.jr-site-footer .jr-footer-brand a {
  display: inline-block;
  margin-bottom: 14px;
}

.jr-site-footer .jr-footer-brand img {
  display: block;
  height: 78px;
  max-height: 82px;
  width: auto;
  max-width: 240px;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  object-fit: contain;
}

.jr-site-footer h2,
.jr-site-footer h3,
.jr-site-footer h4,
.jr-footer-links h2 {
  color: #ffffff !important;
  font-family: var(--heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.jr-footer-links {
  display: flex;
  flex-direction: column;
}

.jr-footer-links h2 {
  color: #ffffff !important;
}

.jr-footer-links a {
  display: block;
  color: #d1fae5;
  font-size: 0.92rem;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.jr-footer-links a:hover {
  color: var(--sun);
  transform: translateX(3px);
}

.jr-footer-links p {
  color: #a7f3d0;
  font-size: 0.9rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

.jr-footer-links p a {
  display: inline;
  color: #ffffff;
}

.jr-footer-links p a:hover {
  color: var(--sun);
}

.jr-site-footer p {
  color: #a7f3d0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.jr-site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jr-site-footer ul li {
  margin-bottom: 10px;
}

.jr-site-footer a {
  color: #d1fae5;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.jr-site-footer a:hover {
  color: var(--sun);
}

.jr-site-footer .jr-footer-phone a {
  color: var(--sun);
  font-weight: 800;
}

.jr-footer-bottom,
.jr-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  color: #a7f3d0;
  font-size: 0.88rem;
  text-align: center;
  line-height: 1.6;
}

.jr-copyright a {
  color: var(--sun);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.jr-copyright a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================
   INTERIOR PAGE HERO
   Solar photography background with light emerald scrim
   ========================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 85px 0 90px;
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(2, 24, 12, 0.68) 0%, rgba(5, 44, 22, 0.46) 58%, rgba(0, 100, 48, 0.24) 100%),
    url("images/bredcum-bg.png") center / cover no-repeat;
  border-bottom: 3px solid var(--green);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.crumb {
  margin-bottom: 20px;
  color: #d1fae5;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.crumb a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crumb a:hover {
  color: var(--sun);
}

.page-hero .eyebrow {
  background: rgba(0, 0, 0, 0.48);
  color: var(--sun);
  border-color: rgba(255, 184, 0, 0.45);
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.page-hero p.lead {
  color: #f1f5f9;
  font-size: 1.15rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

/* ==========================================================
   HOME PAGE STYLES
   ========================================================== */
.home {
  --radius: 18px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.home .hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background: #03180c;
  border-bottom: 3px solid var(--green);
}

.home .hero-carousel {
  position: relative;
  width: 100%;
}

.home .hero-slides {
  position: relative;
  display: grid;
}

.home .hero-slide {
  grid-area: 1 / 1;
  position: relative;
  padding: 96px 0 116px;
  background:
    linear-gradient(105deg, rgba(2, 24, 12, 0.62) 0%, rgba(4, 42, 21, 0.40) 55%, rgba(0, 90, 44, 0.18) 100%),
    var(--slide-bg, url("images/hero-solar.jpg")) center / cover no-repeat;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.65s ease, transform 0.85s ease, visibility 0.65s ease;
}

.home .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 1;
}

.home .hero-slide::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.14), rgba(255, 184, 0, 0) 70%);
  pointer-events: none;
}

.home .hero .container {
  position: relative;
  z-index: 2;
  display: block;
}

.home .hero-slide-content {
  max-width: 740px;
}

.home .badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid var(--sun);
  border-radius: 50px;
  background: rgba(2, 24, 12, 0.55);
  backdrop-filter: blur(6px);
  color: var(--sun);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home .hero h1,
.home .hero .hero-slide-heading {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 3.65rem);
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.home .hero h1 span,
.home .hero .hero-slide-heading span {
  color: var(--sun);
}

.home .hero p {
  max-width: 620px;
  margin-bottom: 30px;
  color: #ecfdf5;
  font-size: 1.14rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.home .hero-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.home .hero-btns .btn {
  width: auto;
  flex: 0 0 auto;
  padding: 12px 24px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.home .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.home .chips span {
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(2, 20, 10, 0.55);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-carousel-arrow:hover {
  background: var(--green);
  border-color: var(--sun);
  transform: translateY(-50%) scale(1.06);
}

.hero-carousel-arrow.prev {
  left: 20px;
}

.hero-carousel-arrow.next {
  right: 20px;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(2, 20, 10, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 30px;
  background: var(--sun);
}

@media (max-width: 1280px) {
  .hero-carousel-arrow {
    top: auto;
    bottom: 20px;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-carousel-arrow:hover {
    transform: scale(1.06);
  }

  .hero-carousel-arrow.prev {
    left: 16px;
  }

  .hero-carousel-arrow.next {
    right: 16px;
  }
}

/* Home Section Layouts */
.home .about {
  padding: 85px 0;
  background: #ffffff;
}

.home .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.home .about-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ecfdf5, #fffbeb);
  border: 1px solid #d1fae5;
  box-shadow: var(--shadow);
}
.home .about-img img {
  max-height: 300px;
  object-fit: contain;
}

/* Home Cards */
.home .cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.home .card {
  padding: 32px 24px;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.home .card:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  border-top-color: var(--sun);
  box-shadow: 0 12px 30px rgba(0, 166, 81, 0.12);
}

.home .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 1.8rem;
}

.home .card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
}

.home .card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Centered cards & icons for "Complete Solar Solutions for Every Need" & "High-Efficiency Solar Products" */
.home #services .card,
.home #products-highlight .card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.home #services .card .icon,
.home #products-highlight .card .icon {
  margin: 0 auto 18px auto;
}

.home #services .card a,
.home #products-highlight .card a {
  margin-top: auto;
  margin-inline: auto;
  text-align: center;
}

/* ==========================================================
   WHY CHOOSE JASCO ENERGIES SECTION
   Vibrant green and solar golden yellow gradient matching hero banner
   ========================================================== */
.home .why,
section.why {
  position: relative;
  overflow: hidden;
  padding: 95px 0 100px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 184, 0, 0.38) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(0, 166, 81, 0.38) 0%, transparent 50%),
    linear-gradient(135deg, #021a0d 0%, #053319 50%, #007a3b 100%);
  border-top: 3px solid var(--sun);
  border-bottom: 3px solid var(--sun);
  color: #ffffff;
}

.home .why::before,
section.why::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.32), rgba(255, 184, 0, 0) 70%);
  pointer-events: none;
}

.home .why::after,
section.why::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 166, 81, 0.3), rgba(0, 166, 81, 0) 70%);
  pointer-events: none;
}

.home .why .container,
section.why .container {
  position: relative;
  z-index: 2;
}

.home .why .tag,
section.why .tag {
  display: inline-block;
  background: rgba(255, 184, 0, 0.22);
  color: var(--sun);
  border: 1.5px solid rgba(255, 184, 0, 0.55);
  padding: 7px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.home .why .title,
section.why .title {
  color: #ffffff !important;
  font-family: var(--heading);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 44px;
  letter-spacing: -0.01em;
}

.home .why .card,
section.why .card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 20px;
  padding: 34px 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid var(--sun);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: left;
}

.home .why .card:hover,
section.why .card:hover {
  transform: translateY(-6px);
  border-top-color: var(--sun);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 184, 0, 0.25);
}

.home .why .card .icon,
section.why .card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.home .why .card h3,
section.why .card h3 {
  font-family: var(--heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: #0f172a !important;
  margin: 0 0 10px;
}

.home .why .card p,
section.why .card p {
  font-size: 0.94rem;
  color: #475569 !important;
  line-height: 1.65;
  margin: 0;
}

/* Home Steps */
.home .steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.home .step {
  padding: 10px;
  text-align: center;
}

.home .step .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00a651 0%, #059669 100%);
  color: #ffffff;
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 0 0 8px #d1fae5;
}

.home .step h3 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}

.home .doc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 30px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
}

.home .doc-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  color: var(--ink);
  font-weight: 600;
}

.home .doc-list b {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-size: 0.85rem;
}

.home .brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.home .brands span {
  padding: 12px 24px;
  border: 2px solid #d1fae5;
  border-radius: 12px;
  color: var(--green-dark);
  background: #ffffff;
  font-family: var(--heading);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 166, 81, 0.05);
}

/* Home CTA Banner */
.home .cta {
  padding: 65px 0;
  background: linear-gradient(135deg, #021a0c 0%, #06381c 60%, #00a651 100%);
  border-top: 3px solid var(--sun);
  border-bottom: 3px solid var(--sun);
  text-align: center;
  color: #ffffff;
}

.home .cta h2 {
  margin-bottom: 12px;
  color: var(--sun);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
}

.home .cta p {
  margin-bottom: 26px;
  color: #d1fae5;
  font-size: 1.15rem;
}

/* Home Contact Form */
.home .contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 40px;
  margin-top: 40px;
}

.home main form {
  display: grid;
  gap: 16px;
  padding: 34px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow);
}

.home main input,
.home main textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--ink);
  font-size: 0.98rem;
  transition: border-color 0.2s, background 0.2s;
}

.home main input:focus,
.home main textarea:focus {
  border-color: var(--green);
  background: #ffffff;
  outline: none;
}

/* ==========================================================
   SERVICES PAGE STYLES (ENHANCED WITH SECTION IMAGES)
   ========================================================== */
.service-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 32px 0 48px;
}

.service-jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  background: #ffffff;
  border: 1.5px solid #d1fae5;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 2px 8px rgba(0, 166, 81, 0.06);
  transition: all 0.25s ease;
}

.service-jump-pill:hover,
.service-jump-pill.active {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 166, 81, 0.3);
}

/* ==========================================================
   SERVICES GRID & CARDS
   Clean modern cards: Image, Title, 3-Line Description, and Contact Button
   ========================================================== */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin: 36px 0 60px;
}

@media (min-width: 900px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card-item {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 110px;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card-item:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: 0 16px 36px rgba(0, 166, 81, 0.16);
}

.service-card-img-wrap {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
  background: #021208;
}

.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.service-card-item:hover .service-card-img-wrap img {
  transform: scale(1.06);
}

.service-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #ffb800 0%, #ff7a00 100%);
  color: #000000;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.service-card-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-tag {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 24px 0;
}

.service-card-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  flex-wrap: wrap;
}

.service-card-actions .btn {
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.service-card-actions .btn-contact {
  background: linear-gradient(135deg, #ffb800 0%, #ff7a00 100%);
  color: #000000;
  border: none;
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.3);
}

.service-card-actions .btn-contact:hover {
  background: linear-gradient(135deg, #ffc700 0%, #ff8c00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.4);
}

.service-card-actions .btn-wa {
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1.5px solid var(--green);
}

.service-card-actions .btn-wa:hover {
  background: var(--green);
  color: #ffffff;
  transform: translateY(-2px);
}

.service-card-detail {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 24px rgba(0, 166, 81, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card-detail:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 12px 32px rgba(0, 166, 81, 0.12);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.service-card-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.service-card-tag {
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid var(--green-border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Service Section Image Showcase */
.service-visual-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  margin: 24px 0 28px;
}

@media (max-width: 900px) {
  .service-visual-grid {
    grid-template-columns: 1fr;
  }
}

.service-banner-img {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card-detail:hover .service-banner-img img {
  transform: scale(1.04);
}

.service-img-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  color: var(--sun);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 184, 0, 0.4);
}

.service-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
  list-style: none;
  padding: 0;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-light);
}

.service-feature-item .check {
  color: var(--green);
  font-weight: 900;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.service-highlight-box {
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  color: var(--ink);
}

.service-highlight-box strong {
  color: var(--green-dark);
}

/* ==========================================================
   PRODUCTS PAGE STYLES (WITH IMAGE CARDS)
   ========================================================== */
.products-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 30px 0 45px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 30px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(0, 166, 81, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

@media (max-width: 1050px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

.product-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: 0 16px 36px rgba(0, 166, 81, 0.16);
}

.product-card-img-wrap {
  width: 100%;
  height: 260px;
  background: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.product-card-img-wrap img.product-img-contain {
  object-fit: contain;
  padding: 12px 16px;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.06);
}

.product-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #ffb800 0%, #ff7a00 100%);
  color: #000000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.product-card-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #ffffff;
}

.product-card-category {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.product-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.product-card-desc {
  font-size: 0.92rem;
  color: var(--ink-light);
  line-height: 1.65;
  margin: 0 0 20px 0;
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.spec-pill {
  background: #f8fafc;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.product-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.product-card-actions .btn {
  padding: 10px 18px;
  font-size: 0.88rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  flex: 1;
  text-align: center;
}

.product-card-actions .btn-quote {
  background: linear-gradient(135deg, #ffb800 0%, #ff7a00 100%);
  color: #000000;
  border: none;
  box-shadow: 0 3px 12px rgba(255, 122, 0, 0.25);
}

.product-card-actions .btn-quote:hover {
  background: linear-gradient(135deg, #ffc700 0%, #ff8c00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.35);
}

.product-card-actions .btn-wa {
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1.5px solid var(--green);
}

.product-card-actions .btn-wa:hover {
  background: var(--green);
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .product-card-actions {
    flex-direction: column;
  }
  .product-card-actions .btn {
    width: 100%;
  }
  .product-card-img-wrap {
    height: 200px;
    padding: 16px;
  }
}

/* ==========================================================
   SOLAR QUOTE & CALCULATOR STYLES
   ========================================================== */
.quote-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 960px) {
  .quote-layout {
    grid-template-columns: 1fr;
  }
}

.quote-form-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 36px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.form-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
}

.form-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.calc-sidebar {
  position: sticky;
  top: 90px;
}

.calc-result-card {
  background: linear-gradient(135deg, #021a0d 0%, #063119 60%, #00a651 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 32px;
  border: 2px solid var(--green);
  box-shadow: 0 12px 36px rgba(0, 166, 81, 0.25);
}

.calc-result-title {
  color: var(--sun);
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 800;
}

.calc-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.calc-metric-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.calc-metric-value {
  font-family: var(--heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
}

.calc-metric-value.highlight {
  color: var(--sun);
}

.calc-metric-label {
  font-size: 0.78rem;
  color: #a7f3d0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: block;
}

.subsidy-highlight-banner {
  background: rgba(255, 184, 0, 0.18);
  border: 1px dashed var(--sun);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.subsidy-highlight-banner .icon {
  font-size: 1.8rem;
}
.subsidy-highlight-banner p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #ffffff;
}

/* Radio Choice Cards */
.radio-cards-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.radio-card-label {
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.radio-card-label:hover {
  border-color: var(--green);
  background: var(--green-soft);
}
.radio-card-label input[type="radio"] {
  display: none;
}
.radio-card-label:has(input[type="radio"]:checked) {
  border-color: var(--green);
  background: var(--green-soft);
  outline: 2px solid var(--green);
}
.radio-card-icon {
  font-size: 1.4rem;
}
.radio-card-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}
.radio-card-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-control:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.15);
}

/* ==========================================================
   IMAGE GALLERY STYLES
   Pure visual photo gallery with smooth hover overlay & lightbox
   ========================================================== */
/* ==========================================================
   CLEAN IMAGE GALLERY STYLES (PURE IMAGES)
   ========================================================== */
.image-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 30px 0 60px;
}

@media (max-width: 1050px) {
  .image-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .image-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.gallery-photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1e13;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  min-width: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-photo-card:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: 0 16px 36px rgba(0, 166, 81, 0.22);
}

.gallery-photo-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.gallery-photo-card:hover .gallery-photo-wrap img {
  transform: scale(1.06);
}

/* Lightbox Modal (Pure Image Viewer) */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 18, 8, 0.92);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content.lightbox-pure-image {
  background: transparent;
  box-shadow: none;
  border-radius: 16px;
  max-width: 92vw;
  max-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zoomIn 0.25s ease;
}

.lightbox-pure-image .lightbox-img-wrap {
  background: transparent;
  max-height: 85vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-pure-image .lightbox-img {
  width: auto;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: var(--green);
  border-color: var(--green);
  transform: rotate(90deg) scale(1.05);
}

@keyframes zoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-category {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--green);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.lightbox-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.lightbox-loc {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

/* Legacy project card compatibility for Home Page */
.gallery-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.project-card-item {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.project-card-item:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 12px 28px rgba(0, 166, 81, 0.12);
}

.project-card-img-wrap {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  position: relative;
  background: #000000;
}
.project-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.project-card-item:hover .project-card-img-wrap img {
  transform: scale(1.05);
}

.project-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--green-border);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  width: fit-content;
  text-transform: uppercase;
}

.project-card-title {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 700;
}

.project-location {
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.project-meta-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.project-spec-pill {
  font-size: 0.78rem;
  background: #f8fafc;
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* ==========================================================
   CONTACT PAGE STYLES
   ========================================================== */
.contact-hero-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0 48px;
}
@media (max-width: 992px) {
  .contact-hero-details {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .contact-hero-details {
    grid-template-columns: 1fr;
  }
}

.contact-detail-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, border-color 0.2s;
}
.contact-detail-box:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}
.contact-detail-box .icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--green);
}

/* Map Frame */
.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ==========================================================
   ABOUT PAGE SPECIFIC (MATCHING REFERENCE DESIGN WITH GREEN THEME)
   ========================================================== */

/* Hero Banner (Solar photo background with light emerald scrim) */
.about-hero-banner {
  position: relative;
  overflow: hidden;
  padding: 85px 0 90px;
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(2, 24, 12, 0.68) 0%, rgba(5, 44, 22, 0.46) 58%, rgba(0, 100, 48, 0.24) 100%),
    url("images/bredcum-bg.png") center / cover no-repeat;
  border-bottom: 3px solid var(--green);
}

.about-hero-banner .jr-container {
  position: relative;
  z-index: 1;
}

.about-hero-banner::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero-crumb {
  font-size: 0.92rem;
  color: #d1fae5;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.about-hero-crumb a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.about-hero-crumb a:hover {
  color: var(--sun);
}

.about-hero-pill {
  display: inline-block;
  background: #ffb800;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.about-hero-title {
  font-family: var(--heading);
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 18px;
  max-width: 820px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.about-hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.6;
  max-width: 720px;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

/* Shared Section Styles */
.about-section {
  padding: 85px 0;
}

.about-section-alt {
  background: #f7faf8;
}

.about-pill {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.about-section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 48px;
}

.about-section-title {
  font-family: var(--heading);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 12px;
}

.about-section-sub {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* 2. Intro Section ("Making the move to solar feel simple") */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 52px;
  align-items: center;
}

.about-intro-title {
  font-family: var(--heading);
  font-size: clamp(1.9rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 24px;
}

.about-intro-text p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.75;
  margin: 0 0 18px;
}

.about-intro-text p:last-child {
  margin-bottom: 0;
}

.about-intro-card-wrap {
  display: flex;
  justify-content: center;
}

.about-intro-logo-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.about-intro-logo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  pointer-events: none;
}

.about-intro-logo-card:hover {
  transform: none;
  box-shadow: none;
}

.about-intro-logo-card img {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
}

/* 3. Our Approach Grid */
.about-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-approach-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 38px 30px;
  border: 1.5px solid rgba(0, 166, 81, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-approach-card:hover {
  transform: translateY(-5px);
  border-color: var(--green);
  box-shadow: 0 16px 35px rgba(0, 166, 81, 0.12);
}

.about-card-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.6rem;
}

.about-card-icon-circle.icon-amber {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.about-card-icon-circle.icon-green {
  background: #ecfdf5;
  color: #00a651;
  border: 1px solid #a7f3d0;
}

.about-card-icon-circle.icon-teal {
  background: #f0fdf4;
  color: #059669;
  border: 1px solid #6ee7b7;
}

.about-approach-card-title {
  font-family: var(--heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
}

.about-approach-card-text {
  font-size: 0.98rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* 4. Solar Products & Services Grid */
.about-services-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-service-mini-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 24px;
  border: 1.5px solid #eef2f6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-service-mini-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 14px 30px rgba(0, 166, 81, 0.09);
}

.about-mini-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f1fbf5;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  border: 1px solid #d1fae5;
  transition: transform 0.2s ease;
}

.about-mini-icon.icon-res {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.about-mini-icon.icon-com {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.about-mini-icon.icon-sub {
  background: #faf5ff;
  border: 1px solid #e9d5ff;
}

.about-mini-icon.icon-wat {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
}

.about-mini-icon.icon-lig {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.about-mini-icon.icon-ins {
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
}

.about-service-mini-title {
  font-family: var(--heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
}

.about-service-mini-text {
  font-size: 0.94rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* 5. How We Work (From First Call to Solar Planning) */
.about-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.about-step-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 24px;
  border: 1.5px solid #e8ecf1;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 14px 30px rgba(0, 166, 81, 0.09);
}

.about-step-num {
  font-family: var(--heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 14px;
  display: inline-block;
}

.about-step-title {
  font-family: var(--heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
}

.about-step-text {
  font-size: 0.94rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* 6. Local Focus Section (Changanacherry, Kottayam) */
.about-local-focus-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.about-local-title {
  font-family: var(--heading);
  font-size: clamp(1.9rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 18px;
}

.about-local-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.75;
  margin: 0 0 24px;
}

.about-loc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.loc-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: default;
}

.loc-chip:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--green-soft);
}

.about-contact-card {
  background: #03180c;
  border: 1.5px solid rgba(0, 166, 81, 0.35);
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.about-contact-card-title {
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px;
}

.about-contact-group {
  margin-bottom: 20px;
}

.about-contact-label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 4px;
}

.about-contact-phone {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
}

.about-contact-phone:hover {
  color: #ffb800;
}

.about-contact-addr {
  color: #cbd5e1;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.about-contact-btn {
  background: linear-gradient(135deg, #ffb800 0%, #ff8c00 100%);
  color: #000000;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 10px;
  padding: 12px 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  box-shadow: 0 4px 14px rgba(255, 184, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 184, 0, 0.5);
}

/* 7. Solar CTA Banner */
.solar-cta-banner {
  background: linear-gradient(135deg, #ffb800 0%, #ff8c00 100%);
  padding: 75px 20px;
  text-align: center;
}

.solar-cta-title {
  font-family: var(--heading);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
}

.solar-cta-sub {
  font-size: 1.12rem;
  color: #1e293b;
  max-width: 650px;
  margin: 0 auto 28px;
  line-height: 1.6;
  font-weight: 500;
}

.solar-cta-phone-btn {
  background: #03180c;
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 38px;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.solar-cta-phone-btn:hover {
  background: #021208;
  transform: translateY(-2px);
}

.solar-cta-secondary-btn {
  background: #ffffff;
  color: #03180c;
  border: 2px solid #03180c;
  border-radius: 999px;
  padding: 12px 34px;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.solar-cta-secondary-btn:hover {
  background: #03180c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-intro-card-wrap {
    order: 2;
  }
  .about-approach-grid {
    grid-template-columns: 1fr;
  }
  .about-services-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-local-focus-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 60px 0;
  }
  .about-hero-banner {
    padding: 65px 0 70px;
  }
  .about-services-summary-grid {
    grid-template-columns: 1fr;
  }
  .about-process-grid {
    grid-template-columns: 1fr;
  }
  .about-contact-card {
    padding: 28px 20px;
  }
  .solar-cta-banner {
    padding: 60px 20px;
  }
}

/* ==========================================================
   WHY SOLAR & SUBSIDY PAGES
   ========================================================== */
.why-solar-page .why-card,
.subsidy-page .card {
  padding: 32px 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.why-solar-page .why-card:hover,
.subsidy-page .card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}

/* ==========================================================
   MODAL WINDOW
   ========================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal.active {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  border: 2px solid var(--green);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 0;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}


/* ==========================================================
   GLOBAL RESPONSIVE COMPONENTS & UTILITIES
   ========================================================== */

/* Universal text wrapping to prevent container overflow on mobile */
p, span, a, h1, h2, h3, h4, h5, h6, li, label, strong, b {
  overflow-wrap: break-word;
}

/* Global Grid System */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: center;
}

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

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

/* Global Cards Grid (why-solar, subsidy, services, home) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.card {
  padding: 32px 24px;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--green);
  border-radius: var(--radius, 18px);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 14px 30px rgba(0, 166, 81, 0.12);
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Global Steps Grid */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.step {
  padding: 30px 22px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}

/* Global Checklist / Document List */
.doc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 30px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
}

.doc-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.doc-list b {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
}

/* Global Brand Chips */
.brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.brands span {
  padding: 10px 20px;
  border: 1.5px solid #d1fae5;
  border-radius: 50px;
  color: var(--green-dark);
  background: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Global CTA Section */
.cta {
  padding: 70px 0;
  background: linear-gradient(135deg, #021a0c 0%, #06381c 60%, #00a651 100%);
  border-top: 3px solid var(--sun);
  border-bottom: 3px solid var(--sun);
  text-align: center;
  color: #ffffff;
}

.cta h2 {
  margin-bottom: 12px;
  color: var(--sun);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
}

.cta p {
  margin-bottom: 26px;
  color: #d1fae5;
  font-size: 1.15rem;
}

/* Floating WhatsApp Button */
.jr-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  line-height: 1;
}

.jr-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
  color: #ffffff;
}

/* Email & Address Break Words in Footer & Contact Cards */
.contact-col-text,
.contact-col-sub,
.contact-detail-box a,
.jr-footer-grid p,
.jr-footer-grid a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ==========================================================
   COMPREHENSIVE FULL RESPONSIVE SUITE
   Breakpoints:
     - 1050px : Desktop Large to Desktop Medium / Tablet Landscape
     - 992px  : Navigation Mobile Drawer Switch (Tablets & Mobile)
     - 768px  : Tablet Portrait & Large Mobile
     - 640px  : Standard Mobile Grid Collapsing
     - 480px  : Compact Mobile / Phone
     - 360px  : Ultra-Compact Mobile (iPhone SE, small screens)
   ========================================================== */

/* ----------------------------------------------------------
   1. Breakpoint: max-width 1050px
   ---------------------------------------------------------- */
@media (max-width: 1050px) {
  .jr-contact-bar-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .jr-site-footer .jr-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .home .cards,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home .steps,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .products-grid,
  .image-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ----------------------------------------------------------
   2. Breakpoint: max-width 992px (Navigation Drawer & Grids)
   ---------------------------------------------------------- */
@media (max-width: 992px) {
  .jr-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .jr-logo {
    margin-right: auto;
    flex-shrink: 0;
  }

  /* Navigation Hamburger Button - Pushed firmly to the far RIGHT */
  .jr-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    order: 2;
    width: 44px;
    height: 44px;
    font-size: 1.85rem;
    line-height: 1;
    color: var(--ink);
    background: transparent;
    border: 1.5px solid rgba(0, 166, 81, 0.25);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  .jr-menu-button:hover,
  .jr-menu-button:focus-visible {
    background: var(--green-soft);
    color: var(--green);
    border-color: var(--green);
  }

  .jr-navigation {
    order: 3;
    position: static;
  }

  /* Right-Aligned Mobile Navigation Drawer */
  .jr-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: min(320px, calc(100vw - 24px));
    background: #ffffff;
    border-bottom: 3px solid var(--green);
    border-left: 2px solid rgba(0, 166, 81, 0.2);
    border-radius: 0 0 0 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 0;
    box-shadow: -8px 20px 45px rgba(0, 0, 0, 0.16);
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 99;
  }

  .jr-menu.active,
  .jr-navigation.open .jr-menu,
  #siteMenu.open .jr-menu {
    display: flex;
    animation: jrMenuSlideRight 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes jrMenuSlideRight {
    from {
      opacity: 0;
      transform: translateY(-8px) scale(0.97);
      transform-origin: top right;
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
      transform-origin: top right;
    }
  }

  .jr-menu li {
    width: 100%;
    list-style: none;
  }

  .jr-menu a {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    font-size: 1.05rem;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    min-height: 46px;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .jr-menu a:hover,
  .jr-menu a.current {
    color: var(--green);
    background: var(--green-soft);
    padding-left: 18px;
  }

  .jr-submenu {
    position: static;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 4px 0 6px 14px;
    border: 0;
    border-left: 2px solid #d1fae5;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .jr-submenu a {
    font-size: 0.92rem;
    padding: 8px 12px;
    min-height: 38px;
    white-space: normal;
  }

  .jr-menu .jr-quote-button {
    margin-top: 14px;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 10px;
  }

  /* Two-column hero sections collapse to 1 column */
  .home .hero .container,
  .home .grid-2,
  .grid-2,
  .home .contact-box,
  .quote-layout,
  .about-intro-grid,
  .about-local-focus-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home .hero-card {
    margin-top: 24px;
    max-width: 440px;
    margin-inline: auto;
  }

  .about-intro-card-wrap {
    order: 2;
  }

  .calc-sidebar {
    position: static;
    margin-top: 24px;
  }

  /* Approach & Mini Services Grids */
  .about-approach-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-services-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-hero-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----------------------------------------------------------
   3. Breakpoint: max-width 768px (Tablet & Phablet)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  /* Section Spacings & Typography */
  .section,
  .about-section,
  .home .about {
    padding: 55px 0;
  }

  .page-hero,
  .about-hero-banner {
    padding: 60px 0 65px;
  }

  .home .hero {
    padding: 0;
  }

  .home .hero-slide {
    padding: 64px 0 92px;
  }

  .jr-logo img {
    height: 58px;
    max-height: 62px;
    max-width: 190px;
  }

  .jr-topbar-email {
    display: none;
  }

  .calc-metric-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ----------------------------------------------------------
   4. Breakpoint: max-width 640px (Mobile Standard)
   ---------------------------------------------------------- */
@media (max-width: 640px) {
  .jr-contact-bar-4col {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .jr-site-footer .jr-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-card-img-wrap {
    height: 260px;
  }

  .home .cards,
  .cards,
  .home .steps,
  .steps,
  .home .doc-list,
  .doc-list,
  .products-grid,
  .image-gallery-grid,
  .about-services-summary-grid,
  .about-process-grid,
  .contact-hero-details {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home .hero-btns {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
  }

  .home .hero-btns .btn {
    width: auto;
    flex: 0 1 auto;
    padding: 9px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .gallery-filter-bar {
    gap: 8px;
    margin-bottom: 28px;
  }

  .gallery-filter-btn {
    padding: 8px 16px;
    font-size: 0.84rem;
  }

  .map-frame,
  .map-wrapper iframe {
    height: 280px !important;
  }

  .lightbox-modal {
    padding: 10px;
  }

  .lightbox-body {
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .lightbox-img-wrap,
  .lightbox-img {
    max-height: 300px;
  }

  .solar-cta-banner {
    padding: 55px 16px;
  }

  .about-contact-card {
    padding: 26px 20px;
  }

  .jr-whatsapp {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }

  .jr-copyright {
    padding-bottom: 80px;
  }
}

/* ----------------------------------------------------------
   5. Breakpoint: max-width 480px (Compact Mobile)
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  .container,
  .jr-container {
    width: calc(100% - 28px);
    margin-inline: auto;
  }

  .jr-topbar-inner {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 6px 0;
  }

  .jr-topbar-contact {
    width: auto;
    justify-content: flex-start;
    gap: 10px;
  }

  .jr-topbar-phone {
    font-size: 0.82rem;
  }

  .jr-topbar-social {
    gap: 6px;
  }

  .jr-languages {
    flex-shrink: 0;
    gap: 5px;
  }

  .jr-languages button {
    min-height: 28px;
    padding: 3px 10px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .jr-logo img {
    height: 48px;
    max-height: 50px;
    max-width: 165px;
  }

  .btn {
    padding: 11px 20px;
    font-size: 0.92rem;
  }

  .about-hero-title,
  .home .hero h1,
  .home .hero .hero-slide-heading,
  .page-hero h1 {
    font-size: 1.95rem;
  }

  .about-section-title,
  .title,
  .section-title {
    font-size: 1.7rem;
  }

  .solar-cta-title {
    font-size: 1.75rem;
  }

  .solar-cta-phone-btn {
    padding: 12px 28px;
    font-size: 1.05rem;
    width: 100%;
    justify-content: center;
  }

  .about-loc-chips .loc-chip {
    padding: 7px 14px;
    font-size: 0.88rem;
  }

  .radio-cards-group {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   6. Breakpoint: max-width 360px (Ultra-Compact Devices)
   ---------------------------------------------------------- */
@media (max-width: 360px) {
  .container,
  .jr-container {
    width: calc(100% - 20px);
  }

  .jr-topbar-inner {
    gap: 6px;
  }

  .jr-topbar-phone {
    font-size: 0.78rem;
    gap: 4px;
  }

  .jr-languages button {
    padding: 2px 8px;
    font-size: 0.68rem;
  }

  .jr-logo img {
    height: 42px;
    max-height: 44px;
    max-width: 145px;
  }

  .jr-menu-button {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.88rem;
  }

  .about-hero-title,
  .home .hero h1 {
    font-size: 1.75rem;
  }
}

/* ==========================================================
   RETINA & HIGH-DPI DISPLAY OPTIMIZATIONS (2x, 3x, Retina, 4K)
   ========================================================== */
@media (-webkit-min-device-pixel-ratio: 1.5), 
       (min-resolution: 144dpi), 
       (min-resolution: 1.5dppx) {
  
  /* Ultra-crisp subpixel antialiasing */
  html, body, h1, h2, h3, h4, p, a, button, input, select, textarea {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  /* Hairline crisp borders and high-fidelity depth */
  .card, 
  .product-card, 
  .service-card-item, 
  .about-approach-card, 
  .about-service-mini-card, 
  .about-step-card,
  .contact-detail-box {
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.04);
  }

  /* Hardware acceleration for ultra-smooth rendering */
  .btn, 
  .card, 
  .product-card, 
  .service-card-item, 
  .service-jump-pill, 
  .filter-btn, 
  .about-approach-card, 
  .about-service-mini-card,
  .about-intro-logo-card,
  .jr-quote-button, 
  .jr-whatsapp {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
  }

  /* High-precision SVGs and Icons */
  svg {
    shape-rendering: geometricPrecision;
  }
}

@media (-webkit-min-device-pixel-ratio: 2), 
       (min-resolution: 192dpi), 
       (min-resolution: 2dppx) {
  
  /* 2x / 3x Retina Display Enhancements */
  .jr-logo img,
  .about-intro-logo-card img,
  .jr-footer-brand img,
  .hero-card img {
    image-rendering: -webkit-optimize-contrast;
  }

  /* Precision subpixel hairline borders for Retina screens */
  .about-intro-logo-card {
    border-width: 1px;
    box-shadow: 
      inset 0 1px 1px rgba(255, 255, 255, 0.28),
      0 18px 45px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(255, 184, 0, 0.25);
  }
}

/* Display P3 Wide Color Gamut Support for Apple Retina Displays */
@supports (color: color(display-p3 1 1 1)) {
  :root {
    --green: color(display-p3 0 0.651 0.318);
    --sun: color(display-p3 1 0.722 0);
    --sun-orange: color(display-p3 1 0.478 0);
  }
}

/* ==========================================================
   JASCO ENERGIES — TESTIMONIALS, SERVICE PILLS & SOCIAL LINKS
   ========================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #d1fae5;
  border-top: 4px solid var(--green);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: left;
  box-shadow: 0 8px 26px rgba(0, 122, 59, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 122, 59, 0.13);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-quote {
  color: var(--ink-light);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.testimonial-author {
  border-top: 1px solid #ecfdf5;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  color: var(--ink);
  font-family: var(--heading);
  font-size: 0.96rem;
}

.testimonial-author span {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 600;
}

.service-sublist {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: grid;
  gap: 7px;
  text-align: left;
}

.service-sublist li {
  font-size: 0.88rem;
  color: var(--ink-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.service-sublist li::before {
  content: "✔";
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(167, 243, 208, 0.28);
  color: #ffffff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: default;
}

.footer-social-icon:hover {
  background: rgba(255, 184, 0, 0.16);
  border-color: var(--sun);
  color: var(--sun);
  transform: translateY(-2px);
}

.footer-social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.services-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.services-directory-card {
  background: #ffffff;
  border: 1px solid #d1fae5;
  border-top: 4px solid var(--green);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: left;
  box-shadow: 0 8px 26px rgba(0, 122, 59, 0.06);
}

.services-directory-card h3 {
  font-size: 1.2rem;
  color: var(--green-dark);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.services-directory-card .service-sublist {
  margin: 0;
  gap: 10px;
}

@media (max-width: 992px) {
  .services-directory-grid {
    grid-template-columns: 1fr;
  }
}

.service-category-block {
  margin-top: 52px;
  text-align: left;
  scroll-margin-top: 100px;
}

.service-category-block:first-of-type {
  margin-top: 32px;
}

.service-category-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #d1fae5;
}

.service-items-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-items-grid .service-card-img-wrap {
  height: 215px;
}

.service-items-grid .service-card-body {
  padding: 20px 22px 22px;
}

.service-items-grid .service-card-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.service-items-grid .service-card-desc {
  font-size: 0.9rem;
  margin-bottom: 18px;
}

@media (max-width: 1024px) {
  .service-items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .service-items-grid {
    grid-template-columns: 1fr;
  }
}

.service-item-box {
  background: #ffffff;
  border: 1px solid #d1fae5;
  border-top: 4px solid var(--green);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 6px 22px rgba(0, 122, 59, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-top-color 0.22s ease;
}

.service-item-box:hover {
  transform: translateY(-4px);
  border-top-color: var(--sun);
  box-shadow: 0 12px 28px rgba(0, 122, 59, 0.12);
}

.service-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.service-item-box h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.service-item-box p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
