/* ══════════════════════════════
   Smart City — prefix: sc2-
   Root: #redia-sc
   ══════════════════════════════ */

#redia-sc { background: #ffffff; font-family: 'Mulish', sans-serif; }

/* ── section label ── */
#redia-sc .sc2-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Urbanist', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  color: rgba(18,28,39,.45); margin-bottom: 20px;
}
#redia-sc .sc2-label::before,
#redia-sc .sc2-label::after { content: ''; width: 32px; height: 1px; background: rgba(18,28,39,.3); flex-shrink: 0; }
#redia-sc .sc2-label--light { color: rgba(255,255,255,.45); }
#redia-sc .sc2-label--light::before,
#redia-sc .sc2-label--light::after { background: rgba(255,255,255,.2); }

/* ── button ── */
#redia-sc .sc2-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  padding: 14px 38px; background: #121c27; color: #ffffff;
  text-decoration: none; border: 1px solid #121c27; border-radius: 0;
  transition: all .35s ease;
}
#redia-sc .sc2-btn:hover {
  background: transparent; color: #121c27;
  box-shadow: 0 8px 28px rgba(18,28,39,.12);
}
#redia-sc .sc2-btn i { transition: transform .35s ease; }
#redia-sc .sc2-btn:hover i { transform: translateX(5px); }

/* ── 2. SPLIT SECTION ── */
#redia-sc .sc2-split { background: #ffffff; padding: 110px 0; }
@media (max-width: 991px) { #redia-sc .sc2-split { padding: 70px 0; } }
@media (max-width: 767px)  { #redia-sc .sc2-split { padding: 56px 0; } }

#redia-sc .sc2-split__text { padding-right: 20px; }
@media (max-width: 991px) { #redia-sc .sc2-split__text { padding-right: 0; } }

#redia-sc .sc2-split h2 {
  font-family: 'Urbanist', sans-serif; font-size: clamp(28px,3.2vw,50px);
  font-weight: 700; color: #121c27; line-height: 1.15; margin: 0 0 24px;
}
#redia-sc .sc2-split p {
  font-family: 'Mulish', sans-serif; font-size: 16px; line-height: 1.85;
  color: #4b535d; margin: 0 0 40px;
}
/* decorative accent line under heading */


#redia-sc .sc2-split__img-col {
  position: sticky; top: 100px; height: fit-content; align-self: flex-start;
}
@media (max-width: 991px) { #redia-sc .sc2-split__img-col { position: static; margin-top: 44px; } }

#redia-sc .sc2-split__img-wrap {
  height: 540px;
  box-shadow: 0 32px 80px rgba(18,28,39,.16);
  overflow: hidden;
}
@media (max-width: 991px) { #redia-sc .sc2-split__img-wrap { height: 380px; } }

/* ── 3. FEATURE CARDS ── */
#redia-sc .sc2-features { background: #f5f5f5; padding: 90px 0; }
@media (max-width: 767px) { #redia-sc .sc2-features { padding: 60px 0; } }

#redia-sc .sc2-features__header { text-align: center; margin-bottom: 60px; }
#redia-sc .sc2-features__header h2 {
  font-family: 'Urbanist', sans-serif; font-size: clamp(24px,2.8vw,42px);
  font-weight: 700; color: #121c27; margin: 0 0 0; line-height: 1.2;
}
/* bottom rule under section title */


#redia-sc .sc2-card {
  position: relative; overflow: hidden;
  background: #ffffff; border: 1px solid rgba(18,28,39,.07); border-radius: 0;
  border-top: 3px solid transparent;
  padding: 44px 36px 40px; height: 100%;
  transition: background .4s ease, box-shadow .4s ease, transform .4s ease,
              border-color .4s ease, border-top-color .3s ease;
}
#redia-sc .sc2-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 3px; background: #121c27;
  transition: width .4s ease;
}
#redia-sc .sc2-card:hover::before { width: 100%; }
#redia-sc .sc2-card .bg-line {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 90%; z-index: 0; opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease; pointer-events: none;
}
#redia-sc .sc2-card .bg-line img { width: 100%; height: 100%; }
#redia-sc .sc2-card:hover {
  background: #121c27; border-color: #121c27;
  box-shadow: 0 28px 70px rgba(18,28,39,.22);
  transform: translateY(-8px);
}
#redia-sc .sc2-card:hover .bg-line { opacity: 1; visibility: visible; }
#redia-sc .sc2-card__body { position: relative; z-index: 1; }
#redia-sc .sc2-card__icon {
  width: 60px; height: 60px; border-radius: 50%; background: #121c27;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px; flex-shrink: 0;
  transition: background .4s ease, box-shadow .4s ease, transform .35s ease;
}
#redia-sc .sc2-card:hover .sc2-card__icon {
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,.2);
  transform: scale(1.08);
}
#redia-sc .sc2-card__icon i { color: #ffffff; font-size: 22px; line-height: 1; }
#redia-sc .sc2-card h4 {
  font-family: 'Urbanist', sans-serif; font-size: 19px; font-weight: 700;
  color: #121c27; margin: 0 0 14px; transition: color .4s ease;
}
#redia-sc .sc2-card:hover h4 { color: #ffffff; }
#redia-sc .sc2-card p {
  font-family: 'Mulish', sans-serif; font-size: 15px; line-height: 1.8;
  color: #4b535d; margin: 0; transition: color .4s ease;
}
#redia-sc .sc2-card:hover p { color: rgba(255,255,255,.65); }

/* ── 4. APPLICATIONS (dark, 2-col) ── */
#redia-sc .sc2-apps { background: #121c27; padding: 110px 0; }
@media (max-width: 991px) { #redia-sc .sc2-apps { padding: 70px 0; } }

#redia-sc .sc2-apps__header { margin-bottom: 60px; }
#redia-sc .sc2-apps__header h2 {
  font-family: 'Urbanist', sans-serif; font-size: clamp(26px,3vw,48px);
  font-weight: 700; color: #ffffff; line-height: 1.18; margin: 0;
}

/* item row */
#redia-sc .sc2-app {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.07);
  cursor: default;
  transition: background .3s ease, padding-left .3s ease;
}
#redia-sc .sc2-app:first-child { border-top: 1px solid rgba(255,255,255,.07); }
#redia-sc .sc2-app:hover { padding-left: 8px; }

#redia-sc .sc2-app__num {
  font-family: 'Urbanist', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.2); flex-shrink: 0; padding-top: 3px; min-width: 26px;
  transition: color .3s ease;
}
#redia-sc .sc2-app:hover .sc2-app__num { color: rgba(255,255,255,.55); }

#redia-sc .sc2-app__body { flex: 1; }
#redia-sc .sc2-app h4 {
  font-family: 'Urbanist', sans-serif; font-size: 17px; font-weight: 700;
  color: #ffffff; margin: 0 0 8px;
  display: flex; align-items: center; gap: 10px;
}
#redia-sc .sc2-app h4::after {
  content: '\f061'; font-family: 'Font Awesome 6 Pro'; font-weight: 400;
  font-size: 11px; color: rgba(255,255,255,.25);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .3s ease, transform .3s ease;
}
#redia-sc .sc2-app:hover h4::after { opacity: 1; transform: translateX(0); }
#redia-sc .sc2-app p {
  font-family: 'Mulish', sans-serif; font-size: 14px; line-height: 1.84;
  color: rgba(255,255,255,.42); margin: 0;
}

/* single image aligned with text column */
#redia-sc .sc2-apps__imgs {
  align-self: stretch;
  display: flex; flex-direction: column;
}
@media (max-width: 991px) { #redia-sc .sc2-apps__imgs { margin-top: 48px; } }
#redia-sc .sc2-apps__img { overflow: hidden; position: relative; height: 100%; }
#redia-sc .sc2-apps__img img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform .55s ease;
}
#redia-sc .sc2-apps__img:hover img { transform: scale(1.05); }
#redia-sc .sc2-apps__img--single { min-height: 540px; }
/* overlay on image */
#redia-sc .sc2-apps__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18,28,39,.55) 100%);
  pointer-events: none;
}
@media (max-width: 1199px) {
  #redia-sc .sc2-apps__img--single { min-height: 460px; }
}
@media (max-width: 991px) {
  #redia-sc .sc2-apps__img--single { min-height: 380px; }
}

/* ── 5. TECHNOLOGIES ── */
#redia-sc .sc2-tech { background: #f5f5f5; padding: 110px 0; }
@media (max-width: 991px) { #redia-sc .sc2-tech { padding: 70px 0; } }

#redia-sc .sc2-tech__banner {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  background: #121c27; padding: 56px 70px; margin-bottom: 80px;
  position: relative; overflow: hidden;
}
/* subtle top-left corner accent */
#redia-sc .sc2-tech__banner::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: rgba(255,255,255,.15);
}
@media (max-width: 991px) { #redia-sc .sc2-tech__banner { padding: 48px 40px; gap: 32px; } }
@media (max-width: 767px)  {
  #redia-sc .sc2-tech__banner { flex-direction: column; text-align: center; padding: 40px 28px; margin-bottom: 56px; }
  #redia-sc .sc2-tech__banner::before { width: 100%; height: 3px; }
}
#redia-sc .sc2-tech__banner-text { flex: 1; }
#redia-sc .sc2-tech__banner h2 {
  font-family: 'Urbanist', sans-serif; font-size: clamp(22px,2.6vw,38px);
  font-weight: 700; color: #fff; margin: 0 0 12px; line-height: 1.22;
}
#redia-sc .sc2-tech__banner p {
  font-family: 'Mulish', sans-serif; font-size: 15px; line-height: 1.75;
  color: rgba(255,255,255,.55); margin: 0;
}
/* tech banner btn override — white version */
#redia-sc .sc2-tech__banner .sc2-btn {
  flex-shrink: 0; background: #fff; color: #121c27; border-color: #fff;
}
#redia-sc .sc2-tech__banner .sc2-btn:hover {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.5);
  box-shadow: none;
}

/* ── 6. CHALLENGES ── */
#redia-sc .sc2-challenges { background: #ffffff; padding: 110px 0; }
@media (max-width: 991px) { #redia-sc .sc2-challenges { padding: 70px 0; } }

#redia-sc .sc2-challenges__header { margin-bottom: 60px; }
#redia-sc .sc2-challenges__header h2 {
  font-family: 'Urbanist', sans-serif; font-size: clamp(26px,3vw,48px);
  font-weight: 700; color: #121c27; line-height: 1.18; margin: 0;
}

#redia-sc .sc2-challenge {
  padding: 44px 36px; height: 100%;
  background: #fff;
  border: 1px solid rgba(18,28,39,.07);
  border-top: 3px solid rgba(18,28,39,.1);
  transition: border-top-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
#redia-sc .sc2-challenge:hover {
  border-top-color: #121c27;
  box-shadow: 0 16px 48px rgba(18,28,39,.1);
  transform: translateY(-4px);
}
#redia-sc .sc2-challenge__icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(18,28,39,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #121c27; margin-bottom: 26px;
  transition: background .35s ease, transform .35s ease;
}
#redia-sc .sc2-challenge:hover .sc2-challenge__icon {
  background: #121c27; color: #fff; transform: scale(1.08);
}
#redia-sc .sc2-challenge h4 {
  font-family: 'Urbanist', sans-serif; font-size: 20px; font-weight: 700;
  color: #121c27; margin: 0 0 14px;
}
#redia-sc .sc2-challenge p {
  font-family: 'Mulish', sans-serif; font-size: 15px; line-height: 1.82;
  color: #4b535d; margin: 0;
}

/* ── 7. USE CASES ── */
#redia-sc .sc2-cases { background: #f5f5f5; padding: 110px 0; }
@media (max-width: 991px) { #redia-sc .sc2-cases { padding: 70px 0; } }

#redia-sc .sc2-cases__header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 56px;
}
@media (max-width: 767px) { #redia-sc .sc2-cases__header { flex-direction: column; align-items: flex-start; } }
#redia-sc .sc2-cases__header h2 {
  font-family: 'Urbanist', sans-serif; font-size: clamp(26px,3vw,48px);
  font-weight: 700; color: #121c27; line-height: 1.18; margin: 0; max-width: 600px;
}

#redia-sc .sc2-case {
  overflow: hidden; background: #fff; height: 100%;
  transition: box-shadow .4s ease, transform .4s ease;
}
#redia-sc .sc2-case:hover { box-shadow: 0 24px 60px rgba(18,28,39,.13); transform: translateY(-6px); }

#redia-sc .sc2-case__img { overflow: hidden; height: 240px; position: relative; }
#redia-sc .sc2-case__img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .55s ease;
}
#redia-sc .sc2-case:hover .sc2-case__img img { transform: scale(1.07); }
/* image overlay gradient */
#redia-sc .sc2-case__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18,28,39,.6) 100%);
  opacity: 0; transition: opacity .4s ease;
}
#redia-sc .sc2-case:hover .sc2-case__img::after { opacity: 1; }
/* floating city badge */
#redia-sc .sc2-case__badge {
  position: absolute; bottom: 16px; left: 16px; z-index: 2;
  font-family: 'Urbanist', sans-serif; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: #fff;
  background: rgba(18,28,39,.55); backdrop-filter: blur(8px);
  padding: 6px 12px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
}
#redia-sc .sc2-case:hover .sc2-case__badge { opacity: 1; transform: translateY(0); }

#redia-sc .sc2-case__body { padding: 32px 30px 36px; }
#redia-sc .sc2-case__city {
  font-family: 'Urbanist', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px; color: rgba(18,28,39,.38);
  margin-bottom: 10px;
}
#redia-sc .sc2-case h4 {
  font-family: 'Urbanist', sans-serif; font-size: 20px; font-weight: 700;
  color: #121c27; margin: 0 0 14px;
}
#redia-sc .sc2-case p {
  font-family: 'Mulish', sans-serif; font-size: 14px; line-height: 1.82;
  color: #4b535d; margin: 0;
}

/* ── 8. STATS STRIP ── */
#redia-sc .sc2-stats { background: #121c27; padding: 80px 0; }
#redia-sc .sc2-stats__grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
}
@media (max-width: 767px) { #redia-sc .sc2-stats__grid { grid-template-columns: repeat(2,1fr); } }
#redia-sc .sc2-stat {
  text-align: center; padding: 36px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .35s ease, transform .35s ease;
}
#redia-sc .sc2-stat:last-child { border-right: none; }
#redia-sc .sc2-stat:hover { background: rgba(255,255,255,.04); transform: scale(1.03); }
@media (max-width: 767px) {
  #redia-sc .sc2-stat:nth-child(2) { border-right: none; }
  #redia-sc .sc2-stat:nth-child(3) { border-right: 1px solid rgba(255,255,255,.08); }
  #redia-sc .sc2-stat { border-bottom: 1px solid rgba(255,255,255,.06); }
  #redia-sc .sc2-stat:hover { transform: none; }
}
#redia-sc .sc2-stat__value {
  font-family: 'Urbanist', sans-serif; font-size: clamp(28px,3.5vw,48px);
  font-weight: 800; color: #ffffff; line-height: 1;
  margin-bottom: 12px; letter-spacing: -.5px;
}
#redia-sc .sc2-stat__label {
  font-family: 'Urbanist', sans-serif; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2.5px; color: rgba(255,255,255,.4);
}

/* ── 9. FINAL CTA ── */
#redia-sc .sc2-cta {
  background: #ffffff; padding: 110px 0;
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(18,28,39,.07);
}
#redia-sc .sc2-cta::before { display: none; }
#redia-sc .sc2-cta::after { display: none; }
@media (max-width: 767px) { #redia-sc .sc2-cta { padding: 72px 0; } }
#redia-sc .sc2-cta__inner { text-align: center; max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
#redia-sc .sc2-cta h2 {
  font-family: 'Urbanist', sans-serif; font-size: clamp(24px,3vw,48px);
  font-weight: 700; color: #121c27; line-height: 1.18; margin: 0 0 38px;
}
#redia-sc .sc2-cta .sc2-btn {
  background: #121c27; border-color: #121c27; color: #fff;
}
#redia-sc .sc2-cta .sc2-btn:hover {
  background: #1e2d3d; border-color: #1e2d3d; color: #fff;
  box-shadow: 0 12px 40px rgba(18,28,39,.2);
}

/* ── MOBILE FIXES ── */
@media (max-width: 767px) {
  #redia-sc .sc2-card           { padding: 32px 24px 28px; }
  #redia-sc .sc2-challenge      { padding: 32px 24px; }
  #redia-sc .sc2-case__body     { padding: 24px 20px 28px; }
  #redia-sc .sc2-features__header { margin-bottom: 40px; }
  #redia-sc .sc2-apps           { padding: 60px 0; }
  #redia-sc .sc2-apps__header   { margin-bottom: 40px; }
  #redia-sc .sc2-apps__img--single { min-height: 320px; }
  #redia-sc .sc2-challenges     { padding: 60px 0; }
  #redia-sc .sc2-challenges__header { margin-bottom: 40px; }
  #redia-sc .sc2-cases          { padding: 60px 0; }
  #redia-sc .sc2-tech           { padding: 60px 0; }
}
@media (max-width: 575px) {
  #redia-sc .sc2-split__img-wrap  { height: 260px; }
  #redia-sc .sc2-tech__banner     { padding: 32px 20px; gap: 24px; }
  #redia-sc .sc2-tech__banner .sc2-btn { width: 100%; justify-content: center; }
  #redia-sc .sc2-cta              { padding: 56px 0; }
  #redia-sc .sc2-cta h2           { margin-bottom: 28px; }
}
