/* ==========================================================
   SolarWala Home / Solar Learning Experience
   Works with the existing style.css theme. No global resets.
========================================================== */

:root {
  --sw-yellow: #f7b719;
  --sw-yellow-2: #ffcf4b;
  --sw-orange: #ff8a00;
  --sw-navy: #082f49;
  --sw-ink: #132331;
  --sw-muted: #687781;
  --sw-soft: #f7faf8;
  --sw-card: #ffffff;
  --sw-line: #e7eef1;
  --sw-green: #0d8b72;
  --sw-mint: #e9f8f3;
  --sw-shadow: 0 24px 70px rgba(8, 47, 73, .12);
  --sw-shadow-soft: 0 16px 45px rgba(8, 47, 73, .08);
}

.sw-section {
  padding: 96px 0;
  position: relative;
  overflow: hidden
}

.sw-section-light {
  background: linear-gradient(180deg, #f8fbfa 0%, #fff 100%)
}

.sw-section-dark {
  background: linear-gradient(135deg, #082f49 0%, #06445c 52%, #0b7180 100%);
  color: #fff
}

.sw-section-dark p {
  color: rgba(255, 255, 255, .76)
}

.sw-heading-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto
}

.sw-section-heading h2 {
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  line-height: 1.05;
  margin: 12px 0 16px
}

.sw-section-heading p {
  font-size: 16px;
  max-width: 700px
}

.sw-heading-center p {
  margin-left: auto;
  margin-right: auto
}

.sw-heading-light h2 {
  color: #fff
}

.sw-heading-light .eyebrow {
  color: var(--sw-yellow-2)
}

/* HERO ---------------------------------------------------- */
.sw-learn-hero {
  padding: 74px 0 82px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 12%, rgba(247, 183, 25, .18), transparent 31%),
    radial-gradient(circle at 14% 90%, rgba(11, 135, 152, .11), transparent 27%),
    linear-gradient(180deg, #fffdf6 0%, #ffffff 70%)
}

.sw-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none
}

.sw-orb-one {
  width: 360px;
  height: 360px;
  right: -140px;
  top: -140px;
  background: radial-gradient(circle, rgba(247, 183, 25, .18), rgba(247, 183, 25, 0))
}

.sw-orb-two {
  width: 260px;
  height: 260px;
  left: -100px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(11, 135, 152, .11), rgba(11, 135, 152, 0))
}

.sw-hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .98;
  max-width: 850px;
  margin: 14px 0 22px
}

.sw-hero-lead {
  font-size: 18px;
  max-width: 650px;
  color: #5f7079
}

.sw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px
}

.sw-learning-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.sw-learning-pills a {
  background: #fff;
  border: 1px solid var(--sw-line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sw-ink);
  box-shadow: 0 8px 20px rgba(8, 47, 73, .04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease
}

.sw-learning-pills a:hover {
  transform: translateY(-2px);
  border-color: rgba(247, 183, 25, .8);
  box-shadow: 0 12px 24px rgba(8, 47, 73, .08)
}

.sw-learning-pills i {
  color: var(--sw-orange);
  margin-right: 6px
}

.sw-hero-trust {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.sw-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: rgba(8, 47, 73, .04);
  padding: 8px 12px;
  font-weight: 700;
  font-size: 12px;
  color: #53656e
}

.sw-trust-chip i {
  color: var(--sw-green)
}

.sw-hero-art {
  position: relative;
  min-height: 530px;
  display: flex;
  align-items: center;
  justify-content: center
}

.sw-hero-image-wrap {
  position: relative;
  width: min(100%, 610px);
  border-radius: 38px;
  overflow: visible
}

.sw-hero-image {
  width: 100%;
  aspect-ratio: 4/4.1;
  object-fit: cover;
  border-radius: 38px;
  box-shadow: 0 35px 90px rgba(8, 47, 73, .2);
  transform: rotate(1.1deg);
  display: block
}

.sw-image-overlay {
  position: absolute;
  inset: 0;
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(8, 47, 73, 0) 45%, rgba(8, 47, 73, .62) 100%);
  pointer-events: none
}

.sw-sun-badge {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: -14px;
  background: var(--sw-yellow);
  padding: 10px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  color: #503900;
  box-shadow: 0 14px 30px rgba(247, 183, 25, .28);
  animation: swFloat 5s ease-in-out infinite
}

.sw-energy-card {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: -24px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--sw-shadow);
  border-radius: 24px;
  padding: 18px 20px
}

.sw-energy-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 900;
  color: #70808a
}

.sw-live-dot {
  color: var(--sw-green);
  display: flex;
  align-items: center;
  gap: 6px
}

.sw-live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sw-green);
  box-shadow: 0 0 0 4px rgba(13, 139, 114, .12);
  animation: swPulse 1.8s infinite
}

.sw-energy-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 10px;
  color: var(--sw-orange);
  font-weight: 900;
  font-size: 14px
}

.sw-energy-line i {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, var(--sw-orange), var(--sw-yellow));
  position: relative;
  overflow: hidden
}

.sw-energy-line i::after {
  content: "";
  position: absolute;
  left: -24%;
  top: -3px;
  width: 24%;
  height: 8px;
  border-radius: 99px;
  background: #fff;
  animation: swFlow 2.3s linear infinite
}

.sw-node {
  color: var(--sw-navy);
  font-size: 10px;
  background: var(--sw-mint);
  border-radius: 999px;
  padding: 5px 8px
}

.sw-energy-card small {
  color: #697981
}

.sw-floating-stat {
  position: absolute;
  z-index: 4;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--sw-shadow-soft);
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: center
}

.sw-floating-stat strong {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  color: var(--sw-orange)
}

.sw-floating-stat span {
  font-size: 11px;
  line-height: 1.35;
  color: #65747d;
  max-width: 150px;
  font-weight: 700
}

.sw-stat-one {
  left: -24px;
  top: 38%;
  animation: swFloat 5.5s ease-in-out infinite reverse
}

.sw-stat-two {
  right: -18px;
  top: 12%;
  animation: swFloat 6.5s ease-in-out infinite
}

/* RAIL ---------------------------------------------------- */
.sw-learning-rail {
  margin-top: -1px;
  background: #fff;
  border-top: 1px solid var(--sw-line);
  border-bottom: 1px solid var(--sw-line);
  position: sticky;
  top: 74px;
  z-index: 20
}

.sw-rail-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  overflow: auto;
  padding: 12px 0;
  scrollbar-width: none
}

.sw-rail-inner::-webkit-scrollbar {
  display: none
}

.sw-rail-intro {
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
  padding-right: 8px;
  border-right: 1px solid var(--sw-line)
}

.sw-rail-kicker {
  font-size: 9px;
  letter-spacing: .14em;
  font-weight: 900;
  color: var(--sw-orange)
}

.sw-rail-intro strong {
  font-size: 12px;
  color: var(--sw-ink)
}

.sw-rail-inner>a {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  color: #65747d;
  padding: 8px 10px;
  border-radius: 999px;
  transition: .2s ease
}

.sw-rail-inner>a:hover {
  background: var(--sw-soft);
  color: var(--sw-navy)
}

.sw-rail-inner>a span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff5d5;
  color: #b57500;
  margin-right: 6px;
  font-size: 10px
}

/* EDUCATION CARDS ---------------------------------------- */
.sw-definition-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--sw-line);
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--sw-shadow-soft);
  margin-top: 28px
}

.sw-definition-icon {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff0bc, #ffe38a);
  color: #8f5b00;
  flex: 0 0 auto;
  font-size: 22px
}

.sw-mini-label {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 900;
  color: #8b9aa1
}

.sw-definition-card h3 {
  font-size: 25px;
  margin: 4px 0 6px
}

.sw-definition-card p {
  margin: 0;
  font-size: 14px
}

.sw-fact-board {
  background: #fff;
  border: 1px solid var(--sw-line);
  border-radius: 30px;
  padding: 22px;
  box-shadow: var(--sw-shadow-soft)
}

.sw-board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 6px
}

.sw-board-tag {
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--sw-orange);
  background: #fff7e4;
  padding: 6px 8px;
  border-radius: 99px
}

.sw-fact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px dashed var(--sw-line)
}

.sw-fact-row:last-child {
  border-bottom: 0
}

.sw-fact-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #f4faf7;
  color: var(--sw-green)
}

.sw-fact-row strong {
  display: block;
  font-size: 14px
}

.sw-fact-row small {
  color: #76858d
}

.sw-image-story {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--sw-line);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--sw-shadow-soft)
}

.sw-image-story-reverse {
  grid-template-columns: .95fr 1.05fr
}

.sw-story-image {
  min-height: 340px;
  overflow: hidden
}

.sw-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease
}

.sw-image-story:hover .sw-story-image img {
  transform: scale(1.035)
}

.sw-story-copy {
  padding: 40px
}

.sw-story-copy h3 {
  font-size: 30px;
  line-height: 1.1;
  margin: 8px 0 15px
}

.sw-story-copy p {
  font-size: 15px
}

.text-link {
  font-weight: 800;
  color: var(--sw-navy)
}

.text-link:hover {
  color: var(--sw-orange)
}

/* SOLAR FLOW --------------------------------------------- */
.sw-flow-wrap {
  position: relative;
  margin-top: 45px
}

.sw-flow-progress {
  height: 4px;
  background: #edf2f4;
  position: absolute;
  left: 8%;
  right: 8%;
  top: 41px;
  border-radius: 99px;
  overflow: hidden
}

.sw-flow-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--sw-yellow), var(--sw-orange), var(--sw-green));
  transition: width .45s ease
}

.sw-flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative
}

.sw-flow-step {
  position: relative;
  z-index: 1;
  text-align: center;
  background: #fff;
  border: 1px solid var(--sw-line);
  border-radius: 26px;
  padding: 18px 16px 22px;
  box-shadow: 0 10px 28px rgba(8, 47, 73, .04);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease
}

.sw-flow-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--sw-shadow-soft)
}

.sw-flow-step.active {
  border-color: rgba(247, 183, 25, .8);
  box-shadow: 0 18px 38px rgba(247, 183, 25, .12)
}

.sw-flow-number {
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 900;
  color: #8c9ba2
}

.sw-flow-icon {
  width: 72px;
  height: 72px;
  margin: 12px auto 15px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: #f6faf8;
  color: var(--sw-green);
  font-size: 26px
}

.sw-flow-step.active .sw-flow-icon {
  background: linear-gradient(135deg, #fff5d5, #ffe7a2);
  color: #9a6400
}

.sw-flow-step h3 {
  font-size: 17px;
  line-height: 1.15
}

.sw-flow-step p {
  font-size: 13px;
  margin: 0
}

.sw-tech-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center
}

.sw-tech-strip>div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--sw-line);
  font-size: 12px;
  font-weight: 800;
  color: #63717c
}

.sw-tech-strip i {
  color: var(--sw-orange)
}

.sw-note {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f7fbf9;
  border: 1px solid #dcefe6;
  color: #587069;
  font-size: 13px
}

.sw-note>i {
  color: var(--sw-green);
  margin-top: 3px
}

/* BENEFITS / ENVIRONMENT -------------------------------- */
.sw-benefit-callout {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 22px;
  padding: 20px;
  backdrop-filter: blur(10px)
}

.sw-benefit-callout span {
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 900;
  color: var(--sw-yellow-2)
}

.sw-benefit-callout strong {
  display: block;
  font-size: 25px;
  margin: 4px 0
}

.sw-benefit-callout small {
  color: rgba(255, 255, 255, .72)
}

.sw-benefit-card {
  height: 100%;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .12);
  position: relative;
  overflow: hidden
}

.sw-benefit-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  right: -85px;
  top: -85px;
  background: rgba(247, 183, 25, .12)
}

.sw-benefit-index {
  position: absolute;
  right: 18px;
  top: 15px;
  font-size: 10px;
  color: rgba(255, 255, 255, .4);
  font-weight: 900;
  letter-spacing: .15em
}

.sw-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(247, 183, 25, .14);
  color: var(--sw-yellow-2);
  font-size: 20px;
  margin-bottom: 20px
}

.sw-benefit-card h3 {
  font-size: 20px;
  line-height: 1.1
}

.sw-benefit-card p {
  font-size: 13px;
  margin-bottom: 0
}

.sw-environment {
  background: linear-gradient(180deg, #fff 0%, #f3faf6 100%)
}

.sw-environment-visual {
  position: relative;
  min-height: 430px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #d9f4f0 0%, #effbf8 48%, #dff0e4 100%);
  box-shadow: var(--sw-shadow-soft);
  border: 1px solid #dceee9
}

.sw-env-sky {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 16%, rgba(255, 210, 91, .75), rgba(255, 210, 91, 0) 18%), linear-gradient(180deg, rgba(255, 255, 255, .2), transparent 40%)
}

.sw-env-sun {
  position: absolute;
  right: 16%;
  top: 11%;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffd356;
  color: #9a6900;
  font-size: 30px;
  box-shadow: 0 0 0 14px rgba(255, 211, 86, .16), 0 0 90px rgba(255, 188, 31, .26);
  animation: swPulse 3s ease-in-out infinite
}

.sw-env-house {
  position: absolute;
  left: 18%;
  bottom: 19%;
  width: 240px;
  height: 125px;
  background: #fff;
  border-radius: 22px 22px 10px 10px;
  box-shadow: 0 25px 45px rgba(8, 47, 73, .11)
}

.sw-env-house::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -64px;
  border-left: 138px solid transparent;
  border-right: 138px solid transparent;
  border-bottom: 80px solid #f6b637
}

.sw-env-house i {
  position: absolute;
  left: 94px;
  bottom: 0;
  font-size: 62px;
  color: #0b6a77;
  opacity: .18
}

.sw-env-house span {
  position: absolute;
  bottom: 18px;
  width: 28px;
  height: 36px;
  background: #d6efe9;
  border-radius: 8px
}

.sw-env-house span:nth-of-type(1) {
  left: 26px
}

.sw-env-house span:nth-of-type(2) {
  left: 76px
}

.sw-env-house span:nth-of-type(3) {
  right: 26px
}

.sw-env-panel-row {
  position: absolute;
  left: 10%;
  right: 34%;
  bottom: 40%;
  height: 68px;
  display: flex;
  gap: 6px;
  transform: skew(-18deg) rotate(-5deg)
}

.sw-env-panel-row span {
  flex: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, #0d4e70, #1687a2);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 9px 18px rgba(5, 53, 73, .18)
}

.sw-leaf {
  position: absolute;
  color: #0d8b72;
  opacity: .8;
  font-size: 29px;
  animation: swDrift 7s ease-in-out infinite
}

.leaf-one {
  left: 9%;
  top: 19%
}

.leaf-two {
  right: 9%;
  bottom: 20%;
  animation-delay: -2s
}

.sw-env-badge {
  position: absolute;
  right: 7%;
  bottom: 8%;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  padding: 14px 16px;
  border-radius: 18px;
  box-shadow: var(--sw-shadow-soft);
  max-width: 205px
}

.sw-env-badge strong {
  display: block;
  font-size: 12px;
  line-height: 1.2
}

.sw-env-badge small {
  display: block;
  margin-top: 5px;
  color: #6f7e86
}

.sw-env-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px
}

.sw-env-stats>div {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--sw-line)
}

.sw-env-stats strong {
  display: block;
  color: var(--sw-green);
  font-size: 13px
}

.sw-env-stats span {
  display: block;
  color: #687781;
  font-size: 12px;
  margin-top: 4px
}

.sw-source-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 15px;
  font-size: 12px;
  color: #718089
}

.sw-source-note i {
  color: var(--sw-orange);
  margin-top: 3px
}

/* TYPES / SIZE ------------------------------------------- */
.sw-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.sw-type-card {
  background: #fff;
  border: 1px solid var(--sw-line);
  border-radius: 27px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(8, 47, 73, .05);
  transition: transform .25s ease, box-shadow .25s ease
}

.sw-type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sw-shadow-soft)
}

.sw-type-card.type-accent {
  background: linear-gradient(180deg, #fffdf1, #fff);
  border-color: #f4ddb1
}

.sw-type-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.sw-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #eef8f5;
  color: var(--sw-green);
  font-size: 20px
}

.sw-type-label {
  font-size: 9px;
  letter-spacing: .11em;
  color: #88969d;
  font-weight: 900;
  text-align: right
}

.sw-type-card h3 {
  font-size: 26px;
  margin: 18px 0 7px
}

.sw-type-card p {
  font-size: 14px
}

.sw-type-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  margin-top: 14px;
  border-top: 1px solid var(--sw-line);
  font-size: 11px;
  color: #6c7b83;
  font-weight: 800
}

.sw-type-footer i {
  color: var(--sw-green)
}

.sw-size-section {
  background: radial-gradient(circle at 90% 10%, rgba(247, 183, 25, .14), transparent 26%), linear-gradient(180deg, #fff 0%, #fffaf0 100%)
}

.sw-question-stack {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.sw-question-stack>div {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--sw-line);
  padding: 15px 16px;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(8, 47, 73, .035)
}

.sw-question-stack>div>span {
  grid-row: 1/3;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff4d0;
  color: #8e5d00;
  font-weight: 900;
  font-size: 11px
}

.sw-question-stack strong {
  font-size: 14px
}

.sw-question-stack small {
  color: #77858c;
  margin-top: 2px
}

/* OWNER -------------------------------------------------- */
.sw-owner-section {
  background: linear-gradient(180deg, #fff 0%, #f9fbfc 100%)
}

.sw-owner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.sw-owner-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--sw-line);
  background: #fff;
  box-shadow: var(--sw-shadow-soft)
}

.sw-owner-card.owner-do {
  border-top: 4px solid var(--sw-green)
}

.sw-owner-card.owner-pro {
  border-top: 4px solid var(--sw-orange)
}

.sw-owner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px
}

.sw-owner-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #eff9f5;
  color: var(--sw-green);
  font-size: 20px
}

.owner-pro .sw-owner-icon {
  background: #fff5e9;
  color: var(--sw-orange)
}

.sw-owner-tag {
  font-size: 9px;
  letter-spacing: .14em;
  font-weight: 900;
  color: #819099
}

.sw-owner-card h3 {
  font-size: 26px;
  margin: 18px 0 14px
}

.sw-owner-card ul {
  margin: 0;
  padding-left: 18px
}

.sw-owner-card li {
  padding: 6px 0;
  color: #66767f;
  font-size: 14px
}

.sw-owner-card li::marker {
  color: var(--sw-green)
}

.owner-pro li::marker {
  color: var(--sw-orange)
}

.sw-safety-banner {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: #082f49;
  color: #fff;
  border-radius: 20px;
  box-shadow: var(--sw-shadow)
}

.sw-safety-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(247, 183, 25, .14);
  color: var(--sw-yellow-2);
  border-radius: 15px;
  font-size: 20px
}

.sw-safety-banner strong,
.sw-safety-banner span {
  display: block
}

.sw-safety-banner strong {
  font-size: 14px
}

.sw-safety-banner span {
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
  margin-top: 3px
}

.sw-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px
}

.sw-check-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f4faf7;
  border: 1px solid #dfeee8;
  font-size: 12px;
  font-weight: 800;
  color: #5c706b
}

.sw-check-grid i {
  color: var(--sw-green)
}

/* ==========================================================
SOLARWALA PREMIUM BLOG / JOURNAL
Modern editorial design with responsive carousel
========================================================== */

#solar-blog {
  position: relative;
  background:
    radial-gradient(circle at 0% 15%, rgba(247, 183, 25, .07), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7faf9 100%);
}

#solar-blog .sw-section-heading {
  max-width: 760px;
}

#solar-blog .sw-section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0d8b72;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
}

#solar-blog .sw-section-heading .eyebrow::before {
  content: "";
  width: 25px;
  height: 2px;
  background: #f7b719;
  border-radius: 99px;
}

#solar-blog .sw-section-heading h2 {
  max-width: 700px;
  color: #082f49;
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -1.8px;
  font-weight: 800;
}

#solar-blog .sw-section-heading p {
  max-width: 650px;
  color: #718089;
  font-size: 15px;
  line-height: 1.85;
}

/* ==========================================================
CAROUSEL WRAPPER
========================================================== */
.sw-blog-carousel {
  --blog-navy: #082f49;
  --blog-green: #0d8b72;
  --blog-yellow: #f7b719;

  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 35px auto 0;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Blog slider container */
.sw-blog-carousel .carousel-inner {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #082f49;
  box-shadow: 0 22px 55px rgba(8, 47, 73, 0.12);
  isolation: isolate;
}

.sw-blog-carousel .carousel-item {
  background: #082f49;
}

/* Navigation aligned to the right */
.sw-blog-navigation-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  width: 100%;
  padding: 18px 4px 0;
  box-sizing: border-box;
}

/* Tablet */
@media (max-width: 991px) {
  .sw-blog-carousel {
    max-width: 850px;
    padding: 0 18px;
  }

  .sw-blog-carousel .carousel-inner {
    border-radius: 22px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .sw-blog-carousel {
    width: 100%;
    padding: 0 12px;
    margin-top: 24px;
  }

  .sw-blog-carousel .carousel-inner {
    border-radius: 18px;
  }

  .sw-blog-navigation-controls {
    gap: 9px;
    padding-top: 14px;
  }
}


/* ==========================================================
JOURNAL TOP BAR
========================================================== */



.sw-blog-edition {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #082f49;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}

.sw-blog-edition-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0d8b72;
  box-shadow: 0 0 0 5px rgba(13, 139, 114, .10);
}

.sw-blog-slide-count {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #89969c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.sw-blog-count-line {
  display: inline-block;
  width: 35px;
  height: 1px;
  background: #dce5e7;
}

/* ==========================================================
ARTICLE LAYOUT
========================================================== */

.sw-blog-slide {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 470px;
  position: relative;
  overflow: hidden;
}

.sw-blog-image {
  position: relative;
  min-width: 0;
  min-height: 470px;
  overflow: hidden;
  background: #dfece8;
  isolation: isolate;
}

.sw-blog-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.sw-blog-carousel .carousel-item.active .sw-blog-image img {
  animation: swBlogImageReveal .9s ease both;
}

.sw-blog-slide:hover .sw-blog-image img {
  transform: scale(1.045);
}

.sw-blog-image-placeholder {
  position: absolute;
  inset: 0;
  min-height: 470px;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 207, 75, .65), transparent 15%),
    linear-gradient(145deg, #0c7180 0%, #0a485d 48%, #082f49 100%);
}

.sw-blog-image-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 27, 40, .38), transparent 28%),
    linear-gradient(0deg, rgba(3, 27, 40, .55), transparent 24%);
}

.sw-blog-image-top {
  position: absolute;
  z-index: 2;
  top: 23px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.sw-blog-image-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(8, 47, 73, .48);
  color: #ffffff;
  backdrop-filter: blur(10px);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .10em;
}

.sw-blog-image-label i {
  color: #ffcf4b;
}

.sw-blog-image-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #082f49;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.sw-blog-image-bottom {
  position: absolute;
  z-index: 2;
  left: 25px;
  right: 25px;
  bottom: 23px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .9);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .17em;
}

.sw-blog-image-line {
  width: 42px;
  height: 2px;
  border-radius: 99px;
  background: #ffcf4b;
}

/* ==========================================================
ARTICLE CONTENT PANEL
========================================================== */

.sw-blog-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 37px 38px 25px;
  overflow-wrap: anywhere;
  color: #ffffff;
  background: linear-gradient(145deg, #082f49, #10556a);
}

.sw-blog-copy-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sw-blog-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  background: #fff0bf;
  color: #775000;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .10em;
  line-height: 1.5;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.sw-blog-reading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .66);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .10em;
}

.sw-blog-reading i {
  color: #ffcf4b;
}

.sw-blog-copy-content {
  margin: 34px 0 28px;
}

.sw-blog-overline {
  display: block;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, .64);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.7;
}

.sw-blog-copy h3 {
  margin: 0 0 17px;
  color: #ffffff;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(29px, 3vw, 43px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.1px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.sw-blog-copy p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, .77);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.9;
}

.sw-blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  max-width: 100%;
  margin-top: 26px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.sw-blog-read-icon {
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #ffcf4b;
  color: #082f49;
  transition: transform .25s ease;
}

.sw-blog-link-arrow {
  margin-left: 3px;
  color: #ffcf4b;
  transition: transform .25s ease;
}

.sw-blog-read-link:hover {
  transform: translateY(-2px);
  border-color: #ffcf4b;
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
}

.sw-blog-read-link:hover .sw-blog-read-icon {
  transform: rotate(-8deg);
}

.sw-blog-read-link:hover .sw-blog-link-arrow {
  transform: translateX(4px);
}

.sw-blog-copy-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .52);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
}

.sw-blog-footer-decoration {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: rgba(255, 207, 75, .12);
  color: #ffcf4b;
  font-size: 13px;
}

/* ==========================================================
FIVE DIFFERENT EDITORIAL THEMES
========================================================== */

/* 1. Modern energy journal */
.blog-card-theme-1 .sw-blog-copy {
  background: linear-gradient(145deg, #082f49 0%, #10556a 100%);
}

.blog-card-theme-1 .sw-blog-copy h3 {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -1.3px;
}

.blog-card-theme-1 .sw-blog-tag {
  background: #fff0bf;
  color: #775000;
}

/* 2. Classic magazine */
.blog-card-theme-2 .sw-blog-copy {
  background: linear-gradient(145deg, #173b35 0%, #24594b 100%);
}

.blog-card-theme-2 .sw-blog-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 700;
  letter-spacing: -.7px;
  line-height: 1.15;
}

.blog-card-theme-2 .sw-blog-copy p {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.9;
}

.blog-card-theme-2 .sw-blog-tag {
  background: #f7e6ce;
  color: #68452b;
}

/* 3. Contemporary technology */
.blog-card-theme-3 .sw-blog-copy {
  background: linear-gradient(145deg, #243b67 0%, #3c5791 100%);
}

.blog-card-theme-3 .sw-blog-copy h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1.08;
}

.blog-card-theme-3 .sw-blog-tag {
  background: #e1eaff;
  color: #263e6d;
}

/* 4. Premium lifestyle magazine */
.blog-card-theme-4 .sw-blog-copy {
  background: linear-gradient(145deg, #55352c 0%, #784c3b 100%);
}

.blog-card-theme-4 .sw-blog-copy h3 {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 700;
  letter-spacing: -.7px;
  line-height: 1.15;
}

.blog-card-theme-4 .sw-blog-copy p {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 15px;
}

.blog-card-theme-4 .sw-blog-tag {
  background: #f7dfc9;
  color: #75442e;
}

/* 5. Minimal green journal */
.blog-card-theme-5 .sw-blog-copy {
  background: linear-gradient(145deg, #28494d 0%, #176b68 100%);
}

.blog-card-theme-5 .sw-blog-copy h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -.8px;
  line-height: 1.15;
}

.blog-card-theme-5 .sw-blog-tag {
  background: #d8f5eb;
  color: #14574d;
}

/* ==========================================================
OPTIONAL IMAGE LAYOUTS
========================================================== */

.blog-image-compact .sw-blog-image,
.blog-image-portrait .sw-blog-image {
  display: grid;
  place-items: center;
  padding: 24px;
  background: #eaf1ee;
}

.blog-image-compact .sw-blog-image img,
.blog-image-portrait .sw-blog-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 470px;
  object-fit: contain;
}

.blog-image-portrait .sw-blog-image img {
  max-height: 470px;
}

/* ==========================================================
BOTTOM NAVIGATION
Controls stay below the slide and never cover text.
========================================================== */

.sw-blog-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.sw-blog-navigation-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7a8990;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}

.sw-blog-navigation-line {
  width: 55px;
  height: 1px;
  background: #d8e4e5;
}

/* .sw-blog-navigation-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  width: 100%;
} */



.sw-blog-nav-btn {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #dfe9e9;
  border-radius: 50%;
  background: #ffffff;
  color: #082f49;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(8, 47, 73, .05);
  cursor: pointer;
  transition:
    background .25s ease,
    border-color .25s ease,
    color .25s ease,
    transform .25s ease;
}

.sw-blog-nav-btn:hover {
  transform: translateY(-2px);
  border-color: #082f49;
  background: #082f49;
  color: #ffffff;
}

.sw-blog-indicators.carousel-indicators {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
}

.sw-blog-indicators.carousel-indicators [data-bs-target] {
  box-sizing: border-box;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #cbd9dc;
  opacity: 1;
  transition: width .25s ease, background .25s ease;
}

.sw-blog-indicators.carousel-indicators button.active {
  flex-basis: 25px;
  width: 25px;
  background: #ff8a00;
}

/* ==========================================================
EMPTY STATE
========================================================== */

.sw-blog-empty {
  padding: 60px 28px;
  border: 1px solid #e2ecea;
  border-radius: 28px;
  background: linear-gradient(135deg, #f4faf7, #fff9e9);
  text-align: center;
}

.sw-blog-empty-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 22px;
  background: #fff0bf;
  color: #8f6500;
  font-size: 25px;
}

.sw-blog-empty .sw-blog-overline {
  color: #0d8b72;
}

.sw-blog-empty h3 {
  margin: 8px 0 12px;
  color: #082f49;
  font-size: clamp(25px, 4vw, 35px);
  font-weight: 800;
}

.sw-blog-empty p {
  max-width: 540px;
  margin: 0 auto;
  color: #687781;
  font-size: 14px;
  line-height: 1.8;
}

/* ==========================================================
ANIMATION
========================================================== */

@keyframes swBlogImageReveal {
  from {
    opacity: .65;
    transform: scale(1.035);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }


}

/* ==========================================================
TABLETS
========================================================== */

@media (max-width: 991.98px) {
  .sw-blog-slide {
    grid-template-columns: 1fr;
  }

  .sw-blog-image {
    min-height: 350px;
  }

  .sw-blog-image img,
  .sw-blog-image-placeholder {
    min-height: 350px;
  }

  .sw-blog-copy {
    min-height: 360px;
    padding: 32px;
  }

  .sw-blog-copy-content {
    margin: 27px 0;
  }

  .sw-blog-copy h3,
  .blog-card-theme-2 .sw-blog-copy h3,
  .blog-card-theme-3 .sw-blog-copy h3,
  .blog-card-theme-4 .sw-blog-copy h3,
  .blog-card-theme-5 .sw-blog-copy h3 {
    font-size: 34px;
  }

  .blog-image-compact .sw-blog-image img,
  .blog-image-portrait .sw-blog-image img {
    height: 100%;
    max-height: 350px;
  }


}

/* ==========================================================
MOBILE
========================================================== */

@media (max-width: 767.98px) {
  #solar-blog .sw-section-heading h2 {
    font-size: clamp(2.1rem, 8vw, 3rem);
    letter-spacing: -1px;
  }

  #solar-blog .sw-section-heading p {
    font-size: 14px;
  }



  .sw-blog-edition,
  .sw-blog-slide-count {
    font-size: 8px;
    letter-spacing: .09em;
  }

  .sw-blog-count-line {
    width: 18px;
  }

  .sw-blog-carousel .carousel-inner {
    border-radius: 22px;
  }

  .sw-blog-image {
    min-height: 260px;
  }

  .sw-blog-image img,
  .sw-blog-image-placeholder {
    min-height: 260px;
  }

  .sw-blog-image-top {
    top: 15px;
    left: 15px;
    right: 15px;
  }

  .sw-blog-image-label {
    padding: 8px 9px;
    font-size: 8px;
  }

  .sw-blog-image-number {
    width: 35px;
    height: 35px;
    font-size: 10px;
  }

  .sw-blog-image-bottom {
    left: 16px;
    right: 16px;
    bottom: 15px;
    font-size: 8px;
  }

  .sw-blog-copy {
    min-height: 0;
    padding: 25px 22px 20px;
  }

  .sw-blog-copy-top {
    align-items: flex-start;
  }

  .sw-blog-reading {
    font-size: 7px;
  }

  .sw-blog-copy-content {
    margin: 28px 0;
  }

  .sw-blog-overline {
    font-size: 8px;
  }

  .sw-blog-copy h3,
  .blog-card-theme-2 .sw-blog-copy h3,
  .blog-card-theme-3 .sw-blog-copy h3,
  .blog-card-theme-4 .sw-blog-copy h3,
  .blog-card-theme-5 .sw-blog-copy h3 {
    font-size: 29px;
    line-height: 1.15;
    letter-spacing: -.6px;
  }

  .sw-blog-copy p {
    font-size: 13px;
    line-height: 1.8;
  }

  .sw-blog-read-link {
    margin-top: 22px;
  }

  .sw-blog-copy-footer {
    font-size: 7px;
  }

  .sw-blog-navigation {
    align-items: center;
    gap: 10px;
  }

  .sw-blog-navigation-label {
    gap: 7px;
    font-size: 7px;
    letter-spacing: .08em;
  }

  .sw-blog-navigation-line {
    width: 18px;
  }

  .sw-blog-navigation-controls {
    gap: 8px;
  }

  .sw-blog-nav-btn {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    font-size: 11px;
  }

  .sw-blog-indicators.carousel-indicators {
    gap: 4px;
  }

  .sw-blog-indicators.carousel-indicators [data-bs-target] {
    flex-basis: 6px;
    width: 6px;
    height: 6px;
  }

  .sw-blog-indicators.carousel-indicators button.active {
    flex-basis: 19px;
    width: 19px;
  }

  .sw-blog-empty {
    padding: 42px 20px;
  }


}

/* ==========================================================
SMALL MOBILE
========================================================== */

@media (max-width: 380px) {
  .sw-blog-slide-count {
    gap: 5px;
    font-size: 7px;
  }

  .sw-blog-count-line {
    width: 10px;
  }

  .sw-blog-copy {
    padding: 22px 17px 18px;
  }

  .sw-blog-copy h3,
  .blog-card-theme-2 .sw-blog-copy h3,
  .blog-card-theme-3 .sw-blog-copy h3,
  .blog-card-theme-4 .sw-blog-copy h3,
  .blog-card-theme-5 .sw-blog-copy h3 {
    font-size: 26px;
  }

  .sw-blog-navigation-label {
    display: none;
  }

  .sw-blog-navigation {
    justify-content: flex-end;
  }


}

/* ==========================================================
REDUCED MOTION ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

  .sw-blog-image img,
  .sw-blog-read-link,
  .sw-blog-read-icon,
  .sw-blog-link-arrow,
  .sw-blog-nav-btn {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================
   VIDEO CAROUSEL
========================================= */

.sw-dynamic-videos .sw-video-carousel {
  position: relative;
  width: 100%;
}

.sw-dynamic-videos .sw-video-carousel-inner {
  overflow: hidden;
  border-radius: 18px;
}

.sw-dynamic-videos .sw-video-carousel .carousel-item {
  padding: 8px 4px 16px;
}

.sw-dynamic-videos .sw-video-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 70, 45, 0.10);
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sw-dynamic-videos .sw-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
}

.sw-dynamic-videos .sw-video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101010;
}

.sw-dynamic-videos .sw-video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sw-dynamic-videos .sw-video-copy {
  flex: 1;
  padding: 22px;
}

.sw-dynamic-videos .sw-video-copy h3 {
  margin: 14px 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #183d2b;
}

.sw-dynamic-videos .sw-video-copy p {
  margin: 0;
  color: #66736b;
  font-size: 14px;
  line-height: 1.7;
}

.sw-dynamic-videos .sw-video-duration,
.sw-dynamic-videos .sw-blog-tag {
  display: inline-block;
  margin: 0 7px 4px 0;
}

.sw-dynamic-videos .sw-video-navigation-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.sw-dynamic-videos .sw-video-nav-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid #d8e4db;
  border-radius: 50%;
  background: #fff;
  color: #245b3b;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sw-dynamic-videos .sw-video-nav-btn:hover {
  color: #fff;
  background: #245b3b;
  border-color: #245b3b;
}

.sw-dynamic-videos .sw-video-indicators.carousel-indicators {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.sw-dynamic-videos .sw-video-indicators button {
  width: 9px;
  height: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b8c8bc;
  opacity: 1;
}

.sw-dynamic-videos .sw-video-indicators button.active {
  width: 25px;
  border-radius: 10px;
  background: #245b3b;
}

.sw-dynamic-videos .sw-video-thumbnail-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  color: #fff;
  background: #25382d;
}

.sw-dynamic-videos .sw-video-thumbnail-placeholder i {
  font-size: 42px;
  margin-bottom: 10px;
}

.sw-dynamic-videos .sw-video-thumbnail-placeholder p {
  margin: 0;
  color: #fff;
}

.sw-dynamic-videos .sw-video-empty-state {
  padding: 50px 20px;
  text-align: center;
  border-radius: 18px;
  background: #fff;
}

.sw-dynamic-videos .sw-video-empty-icon {
  margin-bottom: 15px;
  font-size: 42px;
  color: #245b3b;
}

.sw-dynamic-videos .sw-video-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  color: #6c796f;
  font-size: 13px;
  text-align: center;
}

.sw-dynamic-videos .sw-video-foot i {
  color: #d92323;
  font-size: 19px;
}

/* Tablet */
@media (max-width: 991.98px) {
  .sw-dynamic-videos .sw-video-copy {
    padding: 18px;
  }

  .sw-dynamic-videos .sw-video-copy h3 {
    font-size: 18px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .sw-dynamic-videos .sw-video-carousel .carousel-item {
    padding: 5px 2px 12px;
  }

  .sw-dynamic-videos .sw-video-navigation-controls {
    gap: 18px;
  }

  .sw-dynamic-videos .sw-video-nav-btn {
    width: 40px;
    height: 40px;
  }
}




/* FAQ / SOURCES / CTA ------------------------------------ */
.sw-accordion .accordion-item {
  border: 1px solid var(--sw-line);
  border-radius: 18px !important;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 8px 22px rgba(8, 47, 73, .03)
}

.sw-accordion .accordion-button {
  font-weight: 800;
  font-size: 14px;
  padding: 18px 20px;
  box-shadow: none
}

.sw-accordion .accordion-button:not(.collapsed) {
  background: #fff9e8;
  color: #7a5200
}

.sw-accordion .accordion-body {
  font-size: 13px;
  color: #66767f;
  padding: 0 20px 20px
}

.sw-source-section {
  padding: 26px 0 90px;
  background: #fff
}

.sw-source-panel {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 30px;
  border: 1px solid var(--sw-line);
  border-radius: 30px;
  padding: 30px;
  background: linear-gradient(135deg, #f9fcfa, #fff9ed)
}

.sw-source-copy h2 {
  font-size: 30px;
  line-height: 1.08;
  margin: 10px 0 12px
}

.sw-source-copy p {
  font-size: 14px;
  max-width: 560px
}

.sw-source-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.sw-source-links a {
  background: #fff;
  border: 1px solid var(--sw-line);
  border-radius: 18px;
  padding: 15px 15px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px;
  box-shadow: 0 8px 18px rgba(8, 47, 73, .03);
  transition: .2s ease
}

.sw-source-links a:hover {
  transform: translateY(-2px);
  border-color: #f1d78e
}

.sw-source-links span {
  font-size: 10px;
  letter-spacing: .07em;
  font-weight: 900;
  color: #7a8a91
}

.sw-source-links small {
  font-size: 12px;
  color: #2d3e47
}

.sw-source-links i {
  grid-column: 2;
  grid-row: 1/3;
  color: var(--sw-orange)
}

.sw-final-cta {
  padding: 0 0 70px;
  background: #fff
}

.sw-final-card {
  border-radius: 30px;
  padding: 36px 40px;
  background: linear-gradient(135deg, #082f49, #0b5e70 58%, #0e8b75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 30px 70px rgba(8, 47, 73, .18)
}

.sw-final-card h2 {
  font-size: 38px;
  line-height: 1.02;
  margin: 10px 0
}

.sw-final-card p {
  color: rgba(255, 255, 255, .75);
  max-width: 670px;
  margin: 0
}

.sw-final-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end
}

/* REVEAL + MOTION ---------------------------------------- */
.reveal-home {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal-home.is-visible {
  opacity: 1;
  transform: none
}

@keyframes swFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-9px)
  }
}

@keyframes swPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(13, 139, 114, .24)
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 10px rgba(13, 139, 114, 0)
  }
}

@keyframes swFlow {
  0% {
    left: -20%
  }

  100% {
    left: 110%
  }
}

@keyframes swDrift {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-6deg)
  }

  50% {
    transform: translate3d(12px, -10px, 0) rotate(8deg)
  }
}

/* RESPONSIVE --------------------------------------------- */
@media (max-width:1199.98px) {
  .sw-hero-art {
    min-height: 470px
  }

  .sw-stat-one {
    left: -10px
  }

  .sw-stat-two {
    right: -4px
  }

  .sw-flow-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .sw-flow-progress {
    display: none
  }

  .sw-flow-step {
    min-height: 250px
  }
}

@media (max-width:991.98px) {
  .sw-section {
    padding: 74px 0
  }

  .sw-learning-rail {
    top: 68px
  }

  .sw-hero-art {
    margin-top: 12px
  }

  .sw-hero-image {
    aspect-ratio: 16/11
  }

  .sw-hero-art {
    min-height: auto;
    padding-bottom: 24px
  }

  .sw-stat-one {
    left: 8px
  }

  .sw-stat-two {
    right: 8px
  }

  .sw-image-story,
  .sw-image-story-reverse,
  .sw-blog-slide,
  .sw-source-panel {
    grid-template-columns: 1fr
  }

  .sw-story-copy {
    padding: 28px
  }

  .sw-story-image {
    min-height: 270px
  }

  .sw-blog-copy {
    padding: 28px
  }

  .sw-blog-image img {
    min-height: 300px
  }

  .sw-type-grid,
  .sw-owner-grid {
    grid-template-columns: 1fr
  }

  .sw-env-stats {
    grid-template-columns: 1fr
  }

  .sw-final-card {
    flex-direction: column;
    align-items: flex-start
  }

  .sw-final-actions {
    justify-content: flex-start
  }
}

@media (max-width:767.98px) {
  body {
    font-size: 14px
  }

  .sw-learn-hero {
    padding: 54px 0 62px
  }

  .sw-hero-copy h1 {
    font-size: clamp(2.65rem, 12vw, 4.2rem)
  }

  .sw-hero-lead {
    font-size: 15px
  }

  .sw-hero-actions .btn {
    width: 100%
  }

  .sw-hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr
  }

  .sw-trust-chip {
    justify-content: center
  }

  .sw-hero-art {
    padding-bottom: 35px
  }

  .sw-energy-card {
    left: 12px;
    right: 12px
  }

  .sw-energy-line {
    gap: 5px;
    font-size: 11px
  }

  .sw-node {
    font-size: 9px;
    padding: 4px 6px
  }

  .sw-floating-stat {
    padding: 10px 11px
  }

  .sw-floating-stat span {
    max-width: 118px;
    font-size: 10px
  }

  .sw-stat-one {
    left: 0;
    top: 31%
  }

  .sw-stat-two {
    right: 0;
    top: 5%
  }

  .sw-flow-grid {
    grid-template-columns: 1fr 1fr
  }

  .sw-flow-step {
    min-height: 0
  }

  .sw-flow-step h3 {
    font-size: 16px
  }

  .sw-flow-icon {
    width: 58px;
    height: 58px;
    font-size: 21px
  }

  .sw-rail-inner {
    gap: 8px
  }

  .sw-rail-intro {
    min-width: max-content
  }

  .sw-rail-intro strong {
    display: none
  }

  .sw-check-grid,
  .sw-source-links {
    grid-template-columns: 1fr
  }

  .sw-blog-copy h3 {
    font-size: 28px;
    font-family: "Trebuchet MS", Arial, sans-serif
  }

  .sw-blog-carousel .carousel-control-prev,
  .sw-blog-carousel .carousel-control-next {
    width: 52px
  }

  .sw-carousel-arrow {
    width: 40px;
    height: 40px
  }

  .sw-final-card {
    padding: 28px 22px
  }

  .sw-final-card h2 {
    font-size: 30px
  }

  .sw-final-actions .btn {
    width: 100%
  }

  .sw-video-copy h3 {
    font-size: 20px
  }
}

@media (max-width:575.98px) {
  .sw-section {
    padding: 58px 0
  }

  .sw-section-heading h2 {
    font-size: 2.15rem
  }

  .sw-hero-art {
    margin-left: -5px;
    margin-right: -5px
  }

  .sw-hero-image {
    border-radius: 26px
  }

  .sw-image-overlay {
    border-radius: 26px
  }

  .sw-sun-badge {
    font-size: 11px;
    left: 4px
  }

  .sw-energy-card {
    bottom: -28px
  }

  .sw-hero-art {
    padding-bottom: 44px
  }

  .sw-flow-grid {
    grid-template-columns: 1fr
  }

  .sw-story-copy {
    padding: 22px
  }

  .sw-blog-slide {
    min-height: auto
  }

  .sw-blog-image img {
    min-height: 230px
  }

  .sw-blog-copy {
    min-height: 280px
  }

  .sw-source-panel {
    padding: 22px
  }

  .sw-source-copy h2 {
    font-size: 27px
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important
  }

  .reveal-home {
    opacity: 1;
    transform: none
  }
}



/* Solar hero carousel */
.sw-hero-carousel,
.sw-hero-carousel .carousel-inner,
.sw-hero-carousel .carousel-item {
  width: 100%;
  height: 100%;
}

.sw-hero-carousel .carousel-item {
  height: 100%;
}

.sw-hero-carousel .sw-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Keep overlay/card above slider */
.sw-image-overlay,
.sw-energy-card,
.sw-hero-carousel .carousel-indicators,
.sw-hero-carousel .carousel-control-prev,
.sw-hero-carousel .carousel-control-next {
  position: absolute;
  z-index: 3;
}

.sw-image-overlay {
  pointer-events: none;
}

/* Slightly cleaner controls */
.sw-hero-carousel .carousel-control-prev,
.sw-hero-carousel .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(5px);
}

.sw-hero-carousel .carousel-indicators {
  bottom: 12px;
  margin-bottom: 0;
}

.sw-hero-carousel .carousel-indicators [data-bs-target] {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}