/* CSS VARIABLES*/
:root {
  --crimson: #7a0c14;
  --crimson-dark: #5a0910;
  --crimson-deep: #3e0609;
  --crimson-brand: #740F0F;
  --crimson-card: #7c1818;
  --cream: #f5f0e8;
  --cream-light: #faf7f2;
  --cream-alt: #F5EFDC;
  --gold: #c8a96e;
  --gold-light: #e2c99a;
  --text-muted-light: rgba(245, 240, 232, 0.7);
  --text-dark: #1a1a1a;
  --text-mid: #555;
  --text-muted: #acacac;
  --white: #ffffff;
}

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

p {
  margin: 0;
}

body {
  font-family: "Nunito Sans", sans-serif;
  padding-top: 80px;
}


/* NAVBAR */
.navbar {
  background-color: var(--cream-alt);
  padding: 0.75rem 2.5rem;
  position: relative;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-logo-box {
  width: 42px;
  height: 42px;
  border: 2px solid var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-logo-box::before {
  content: 'P';
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--crimson);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--crimson);
  letter-spacing: 0.04em;
}

.brand-tagline {
  font-size: 0.6rem;
  color: var(--crimson);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 2px;
}

.nav-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a2020 !important;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--crimson) !important;
}

.navbar-nav .nav-item:last-child .nav-link {
  color: var(--crimson) !important;
  font-weight: 600;
}

.search-icon {
  color: var(--crimson);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.search-icon:hover {
  opacity: 1;
}


/* HERO SECTION  */
.hero-section {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 70px);
  padding: 4rem 2.5rem 3rem;
  display: flex;
  align-items: center;
  background-color: var(--crimson-dark);
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;                      /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  object-fit: cover;             /* fills the section, no letterbox */
  opacity: 0.6;                  /* as requested */
  mix-blend-mode: multiply;      /* blends with background colour */
  z-index: 0;
  pointer-events: none;          /* clicks pass through to content */
}

.bold-solutions-section{
  opacity: 0.1;
  top: 20%;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  margin: auto;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hero-left {
  width: 100%;
  animation: fadeInLeft 0.9s ease both;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Hero Top Row ── */
.hero-top-row {
  display: flex;
  width: 100%;
  padding-top: 10px;
}

.hero-top-text {
  width: 50%;
}

.hero-top-media {
  width: 50%;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  justify-content: flex-end;
}

.hero-media-card {
  max-width: 380px;
}

.hero-media-card img {
  width: 100%;
}

.hero-media-caption {
  background: var(--cream-alt);
  padding: 20px;
  color: var(--crimson-brand);
  font-size: 18px;
  line-height: 20px;
  font-weight: 200;
  border-radius: 0 0 10px 10px;
}

/* ── Hero Bottom Row ── */
.hero-bottom-row {
  display: flex;
  width: 100%;
  margin-top: 10px;
}

.hero-bottom-cta {
  width: 35%;
}

.hero-bottom-stats {
  width: 65%;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

/* Stat Cards */
.stat-card {
  background: var(--cream-alt);
  padding: 15px;
  border-radius: 10px;
  margin-top: 14px;
}

.stat-card img {
  width: 100%;
}

.stat-card-text {
  color: var(--crimson-brand);
  font-weight: 200;
  font-size: 20px;
  padding-top: 10px;
}

.stat-card-text strong {
  font-weight: 600;
}

.stat-card--wide {
  width: 300px;
}

.stat-card--mid {
  width: 220px;
}

.stat-card--tall {
  width: 300px;
  margin-top: 20px;
}

.stat-card--tall .stat-card-inner {
  margin-top: -44px;
}

/* Caption box under standalone image */
.stat-caption-box {
  background: var(--cream-alt);
  color: var(--crimson-brand);
  font-weight: 200;
  font-size: 17px;
  line-height: 18px;
  padding: 18px;
  border-radius: 0 0 10px 10px;
}

.stat-card--mid .stat-card-text {
  font-size: 17px;
  line-height: 20px;
}

.hero-heading {
  font-size: 68px;
  font-weight: 200;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 20px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-muted-light);
  max-width: 520px;
}

.hero-platform-note {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted-light);
  margin-bottom: 2.2rem;
  line-height: 1.6;
}

.hero-platform-note strong {
  color: var(--cream);
  font-weight: 600;
}

.btn-discover {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 1.5px solid var(--cream);
  background: var(--cream-alt);
  color: var(--crimson-brand);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
  border-radius: 10px;
}

.btn-discover:hover {
  background: var(--cream);
  color: var(--crimson-dark);
}


/* DISCOVER SECTION (second-banner) */
.discover-section {
  background-image: url('../images/discover-primus-one.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.discover-inner {
  max-width: 1320px;
  margin: auto;
}

.discover-row {
  width: 100%;
  display: flex;
  gap: 20px;
  padding-top: 40px;
  padding-bottom: 10px;
}

.discover-text {
  width: 45%;
}

.discover-heading {
  color: var(--crimson-brand);
  font-weight: 200;
  font-size: 35px;
  padding-top: 60px;
  line-height: 50px;
}

.discover-body {
  font-size: 25px;
  font-weight: 200;
  line-height: 35px;
  padding-top: 30px;
}

.btn-discover-red {
  background: var(--crimson-brand);
  padding: 10px 35px;
  display: table;
  margin-top: 20px;
  text-decoration: none;
  color: #fff;
  border-radius: 10px;
}

.discover-visual {
  width: 55%;
  height: 500px;
  background-image: url('../images/second-banner-1.png');
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 120px;
}


/* INNOVATIONS SECTION (cards row) */
.innovations-section {
  background: var(--crimson-brand);
  padding: 40px 0;
}

.innovations-inner {
  max-width: 1320px;
  margin: auto;
}

.innovations-heading {
  font-weight: 300;
  color: #ffffff;
  font-size: 50px;
  padding-bottom: 0;
}

.innovations-sub {
  color: #ffffff;
  font-size: 20px;
  font-weight: 200;
  margin-bottom: 60px;
}

/* ── Product Cards Row ── */
.cards-row {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 1400px;
}

.card {
  position: relative;
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  flex: 1 1 0;
  border: none;
}

.card-img {
  position: absolute;
  overflow: hidden;
  border-radius: 12px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  pointer-events: none;
}

.card-content {
  position: absolute;
  left: 0;
  right: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Topbar */
.content-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 20px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
}



.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--crimson-card);
  line-height: 1.35;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.back-btn {
  width: 38px;
  height: 38px;
  background: var(--crimson-card);
  border: none;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  pointer-events: none;
  transition: background 0.18s;
}

.back-btn:hover {
  background: #5a1010;
}

/* Main text */
.content-main {
  padding: 16px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 9px;
}

.card-title {
  font-size: 20px;
  font-weight: 200;
  color: var(--text-dark);
  line-height: 1.2;
}

.expand-btn {
  width: 33px;
  min-width: 33px;
  height: 33px;
  background: var(--crimson-card);
  border: none;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s, opacity 0.2s;
}

.expand-btn:hover {
  background: #5a1010;
}

.card-desc {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-mid);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
  transition: font-size 0.3s;
}

.card-desc.expanded-desc {
  -webkit-line-clamp: unset;
  display: block;
  font-size: 13px;
  line-height: 20px;
}

/* Extras */
.content-extras {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transform: translateX(-30px);
  pointer-events: none;
}

.card-stats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  margin-top: 16px;
  padding-left: 0;
}

.card-stats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  background: var(--crimson-card);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.18s, transform 0.14s;
}

.read-more-btn:hover {
  background: #5a1010;
  transform: translateY(-1px);
}


/* BOLD SOLUTIONS SECTION */
.bold-section {
  height: 90vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.bold-section::after{
  content: "";
  position: absolute;
  right: 0;
  width: 80%;
  height: 370px;
  bottom: 20%;
  background-image: url('../images/hand-point.png');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 26%;
  z-index: 9;
}

.bold-inner {
  max-width: 1320px;
  margin: auto;
}

.bold-content-wrap {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
}

/* Vertical text column */
.bold-vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  position: absolute;
  left: 0;
  top: 0;
}

.bold-vertical-label {
  font-size: 45px;
  padding-left: 10px;
  font-weight: 200;
  color: var(--crimson-brand);
}

.bold-vertical-highlight {
  font-weight: 700;
  font-size: 60px;
  background: var(--crimson-brand);
  padding: 10px;
  padding-top: 31px;
  border-radius: 10px 10px 0 0;
  color: #fff;
  padding-bottom: 40px;
}

/* Circle boxes area */
.circles-area {
  width: calc(100% - 190px);
  margin-left: calc((100% - (100% - 200px)) / 1);
}

.circles-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Circle box */
.rounded_box {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1.5px solid #7a1520;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  position: relative;
  transition: transform 0.3s ease;
  font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer;
  padding: 18px;
}

.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--crimson-brand);
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
}


/* AI SECTION */
.ai-section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.ai-inner {
  display: flex;
  align-items: center;
  max-width: 1320px;
  margin: auto;
  gap: 40px;
}

.ai-splid-box{
  display: flex;justify-content: space-between;align-items: center;
}

.ai-text-col {
  width: 40%;
  display: flex;
  flex-direction: column;
}

.ai-heading {
  font-size: 45px;
  line-height: 60px;
  font-weight: 200;
  color: var(--crimson-brand);
}

.ai-heading-big {
  font-size: 60px;
  color: #000000;
}

.ai-body {
  font-size: 20px;
  color: var(--text-muted);
}

.ai-visual-col {
  width: 60%;
}

.ai-visual-col img {
  width: 100%;
}


/* OVERLAY & POPUP */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}

.overlay.visible {
  pointer-events: all;
}

.popup {
  position: relative;
  width: min(860px, 92vw);
  min-height: 380px;
  background: var(--crimson-brand);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  padding-top: 25px;
}

.popup-content {
  flex: 1;
  padding: 48px 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.popup-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 22px;
}

.popup-body {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 36px;
  max-width: 480px;
  font-weight: 500;
}

.popup-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.popup-stat-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.popup-stat-value {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
  max-width: 160px;
  font-weight: 400;
}

.popup-image-panel {
  width: 280px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.popup-image-panel img {
  display: block;
  width: 100%;
  height: 50%;
  object-fit: cover;
  object-position: center top;
}

.popup-image-panel img:last-child {
  object-position: center center;
  border-top: 1px solid rgba(139, 0, 0, 0.4);
}

.popup-image-panel.single img {
  height: 100%;
}

.popup-image-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 10;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}


/* CARD GRID (Hero cards – kept from original) */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  animation: fadeInRight 1s ease 0.15s both;
  flex-shrink: 0;
  width: 100%;
  max-width: 720px;
  grid-template-areas:
    "person person ai"
    "digital climate local";
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card-person {
  grid-area: person;
}

.card-ai {
  grid-area: ai;
}

.card-digital {
  grid-area: digital;
}

.card-climate {
  grid-area: climate;
}

.card-local {
  grid-area: local;
}

.info-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-light);
  color: var(--text-dark);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.info-card:hover .card-img-wrap img {
  transform: scale(1.04);
}

.card-tall .card-img-wrap {
  height: 290px;
}

.card-short .card-img-wrap {
  height: 165px;
}

.card-ai .card-img-wrap {
  height: 200px;
}

.card-body-text {
  padding: 0.9rem 1rem;
  background: var(--cream-light);
}

.card-body-text p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #2c2c2c;
  margin: 0;
}

.card-body-text p strong {
  font-weight: 700;
}

.card-ai .card-body-text {
  background: #eae6df;
}

.card-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.hero-top-media-mobile-view{
    display: none;
  }

/* RESPONSIVE*/

/* ── Large desktop (≤1200px) ── */
@media (max-width: 1200px) {
  .hero-heading {
    font-size: 52px;
  }

  .innovations-heading {
    font-size: 38px;
  }

  .discover-heading {
    font-size: 28px;
    line-height: 40px;
  }

  .discover-body {
    font-size: 20px;
    line-height: 28px;
  }

  .discover-visual {
    height: 380px;
  }

  .bold-vertical-label {
    font-size: 36px;
  }

  .bold-vertical-highlight {
    font-size: 48px;
  }

  .ai-heading {
    font-size: 36px;
    line-height: 48px;
  }

  .ai-heading-big {
    font-size: 48px;
  }

  .stat-card--wide,
  .stat-card--tall {
    width: 240px;
  }

  .stat-card--mid {
    width: 180px;
  }
}

/* ── Tablet landscape (≤1024px) ── */
@media (max-width: 1024px) {
  .hero-section {
    padding: 3rem 1.5rem;
  }

  .hero-heading {
    font-size: 42px;
  }

  .hero-sub,
  .hero-platform-note {
    font-size: 16px;
  }

  .hero-media-caption {
    font-size: 14px;
  }

  .hero-media-card {
    max-width: 280px;
  }

  .discover-row {
    flex-direction: column;
  }

  .discover-text {
    width: 100%;
    padding-top: 0;
  }

  .discover-heading {
    padding-top: 30px;
  }

  .discover-visual {
    width: 100%;
    height: 320px;
    margin-top: 20px;
    background-size: cover;
  }

  .innovations-heading {
    font-size: 30px;
  }

  .innovations-sub {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* stack cards row vertically on tablet */
  .cards-row {
    flex-wrap: wrap;
  }

  .cards-row .card {
    flex: 1 1 calc(50% - 14px);
    min-width: 200px;
  }

  .bold-section {
    height: auto;
    padding: 60px 20px;
  }

  .bold-content-wrap {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .bold-vertical-text {
    writing-mode: horizontal-tb;
    transform: none;
    position: static;
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .bold-vertical-highlight {
    border-radius: 10px;
    padding: 10px 20px;
  }

  .circles-area {
    width: 100%;
    margin-left: 0;
  }

  .ai-inner {
    flex-direction: column;
    gap: 20px;
  }

  .ai-text-col,
  .ai-visual-col {
    width: 100%;
  }

  .ai-heading {
    font-size: 30px;
    line-height: 42px;
  }

  .ai-heading-big {
    font-size: 40px;
  }
}

@media(max-width: 992px){
  .hero-top-media-desktop-view{
    display: none;
  }
  .hero-top-media-mobile-view{
    display: block;
  }

  .hero-top-text, .hero-heading{
    width: 100%;
  }

  .hero-heading br{
    display: none;
  }

  .hero-sub{
    width: 100%;
  }

  .hero-bottom-row{
    flex-direction: column;
  }

  .hero-bottom-stats{
    width: 100%;
  }
}

/* ── Tablet portrait (≤768px) ── */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .hero-section {
    padding: 2rem 1rem;
    min-height: auto;
  }

  .hero-top-row {
    flex-direction: column;
    gap: 20px;
  }

  .hero-top-text,
  .hero-top-media {
    width: 100%;
  }

  .hero-top-media {
    justify-content: center;
  }

  .hero-heading {
    font-size: 36px;
  }

  .hero-bottom-row {
    flex-direction: column;
    gap: 20px;
  }

  .hero-bottom-cta,
  .hero-bottom-stats {
    width: 100%;
  }

  .hero-bottom-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-card--wide,
  .stat-card--mid,
  .stat-card--tall {
    width: calc(50% - 10px);
    margin-top: 0;
  }

  .stat-card--tall .stat-card-inner {
    margin-top: 0;
  }

  .innovations-heading {
    font-size: 26px;
  }

  .innovations-inner {
    padding: 0 1rem;
  }

  .cards-row .card {
    flex: 1 1 100%;
  }

  .circles-row {
    gap: 20px;
  }

  .rounded_box {
    width: 130px;
    height: 130px;
    font-size: 12px;
  }

  .popup {
    flex-direction: column;
  }

  .popup-image-panel {
    width: 100%;
    height: 200px;
  }

  .popup-image-panel img {
    height: 100%;
  }

  .popup-image-panel img:last-child {
    display: none;
  }

  .popup-image-panel.single img {
    height: 100%;
  }

  .popup-content {
    padding: 32px 24px 28px;
  }

  /* Hero info cards grid */
  .cards-grid {
    max-width: 100%;
    grid-template-areas:
      "person person"
      "ai ai"
      "digital climate"
      "local local";
    grid-template-columns: 1fr 1fr;
  }

  .card-local {
    grid-column: 1 / 3;
  }

  .ai-heading-big {
    font-size: 22px;
  }
  .ai-heading {
      font-size: 22px;
      line-height: 30px;
  }
  .ai-body {
    font-size: 16px;
    padding-top: 20px;
  }

  .bold-vertical-text{
    flex-direction: column;
  }
}

@media(max-width:576px){
  .ai-splid-box{
    flex-direction: column;
  }

  .ai-visual-col{
    padding-top: 20px;
    width: 70%;
  }
  .bold-vertical-text{
    width: 100%;
    display: flex;
  }
}

/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {
  .hero-heading {
    font-size: 28px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-platform-note {
    font-size: 14px;
  }

  .btn-discover {
    padding: 0.7rem 1.4rem;
    font-size: 0.75rem;
  }

  .hero-top-media {
    flex-direction: column;
    align-items: center;
  }

  .hero-media-card {
    max-width: 100%;
  }

  .hero-bottom-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-card--wide,
  .stat-card--mid,
  .stat-card--tall {
    width: 100%;
    max-width: 320px;
  }

  .discover-heading {
    font-size: 22px;
    line-height: 32px;
  }

  .discover-body {
    font-size: 16px;
    line-height: 24px;
  }

  .innovations-heading {
    font-size: 22px;
  }

  .innovations-sub {
    font-size: 14px;
  }

  .popup-stats {
    gap: 20px;
  }

  .popup-content {
    padding: 24px 18px 20px;
  }

  .circles-row {
    gap: 14px;
  }

  .rounded_box {
    width: 110px;
    height: 110px;
    font-size: 11px;
    padding: 12px;
  }

  .bold-vertical-text {
    flex-direction: column;
    align-items: flex-start;
  }

  .bold-vertical-label {
    font-size: 28px;
    padding-left: 0;
  }

  .bold-vertical-highlight {
    font-size: 36px;
  }

  .ai-heading {
    font-size: 24px;
    line-height: 34px;
  }

  .ai-heading-big {
    font-size: 32px;
  }

  .ai-body {
    font-size: 16px;
  }

  .cards-grid {
    grid-template-areas:
      "person"
      "ai"
      "digital"
      "climate"
      "local";
    grid-template-columns: 1fr;
  }

  .card-local {
    grid-column: 1;
  }
}


/* ── Mobile Hero Media View ── */
.hero-top-media-mobile-view {
  display: none; /* hidden by default */
}

@media (max-width: 992px) {
  .hero-top-media-desktop-view {
    display: none;
  }

  .hero-top-media-mobile-view {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    width: 100%;
    align-items: flex-end;
  }

  /* First bare image (banner-img-1) */
  .hero-top-media-mobile-view > div:first-child {
    width: calc(40% - 8px);
    flex-shrink: 0;
  }

  .hero-top-media-mobile-view > div:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }

  /* Caption card (banner-img-2) */
  .hero-top-media-mobile-view .hero-media-card {
    width: calc(60% - 8px);
    max-width: unset;
    flex-shrink: 0;
  }

  /* Stat cards — 3-up row */
  .hero-top-media-mobile-view .stat-card--wide,
  .hero-top-media-mobile-view .stat-card--mid,
  .hero-top-media-mobile-view .stat-card--tall {
    width: calc(33.333% - 11px);
    margin-top: 0;
  }

  .hero-top-media-mobile-view .stat-card--tall .stat-card-inner {
    margin-top: 0;
  }

  /* CTA block full width when bottom row goes column */
  .hero-bottom-cta {
    width: 100%;
  }
}

/* ── Tablet portrait: stat cards 2-up ── */
@media (max-width: 768px) {
  .hero-top-media-mobile-view > div:first-child,
  .hero-top-media-mobile-view .hero-media-card {
    width: 100%;
  }

  .hero-top-media-mobile-view .hero-media-card {
    max-width: 100%;
  }

  .hero-top-media-mobile-view .stat-card--wide,
  .hero-top-media-mobile-view .stat-card--mid,
  .hero-top-media-mobile-view .stat-card--tall {
    width: calc(50% - 8px);
  }
}

/* ── Mobile: full-width stack ── */
@media (max-width: 480px) {
  .hero-top-media-mobile-view .stat-card--wide,
  .hero-top-media-mobile-view .stat-card--mid,
  .hero-top-media-mobile-view .stat-card--tall {
    width: 100%;
  }
}



/* IMPACT SECTION */
.impact-section {
  position: relative;
  padding: 80px 20px;
  background: url("../images/impactBg.png") center/cover no-repeat;
  overflow: hidden;
}

.impact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

.impact-container {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.impact-section-title {
  font-size: 24px;
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: 500;
}

.impact-section-title span {
  color: #fff;
  font-weight: 600;
}

.impact-content-wrapper {
  display: flex;
  gap: 50px;
  align-items: center;
}

.impact-left {
  flex: 1;
}

.impact-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.impact-right img {
  max-width: 400px;
  width: 100%;
  filter: drop-shadow(0 0 40px rgba(255, 0, 0, 0.6));
}

.impact-card {
  background: linear-gradient(145deg, #4a0000, #1a0000);
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.25);
}

.impact-card-image {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.impact-card-image img {
  width: 100%;
  display: block;
}

.impact-card-footer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: 14px;
  color: #ddd;
  line-height: 1.5;
}

.impact-card-footer img {
  width: 40px;
  height: auto;
  flex-shrink: 0;
  margin-top: 3px;
}

.globe-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.globe-wrapper img {
  width: 100%;
  max-width: 380px;
}

.impact-slider {
  position: relative;
}

.impact-slide {
  display: none;
}

.impact-slide.active {
  display: block;
  animation: fade 0.5s ease;
}

.impact-slider-controls {
  margin-top: 20px;
  text-align: right;
}

.impact-slider-controls button {
  background: #600000;
  border: none;
  color: #fff;
  padding: 10px 14px;
  margin-right: 10px;
  cursor: pointer;
  border-radius: 6px;
}

.impact-slider-controls button:hover {
  background: #ff0000;
}

/* LATEST TECHNOLOGY SECTION */
.latest-section {
  position: relative;
  padding: 80px 20px;
  background: url("../images/latest-bg.jpg") center/cover no-repeat;
  overflow: hidden;
}

.latest-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 0;
}

.latest-container {
  max-width: 1200px;
  padding: 40px 0;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.latest-title {
  font-size: 32px;
  font-weight: 100;
  color: #000000;
  margin-bottom: 40px;
  line-height: 1.5;
}

.latest-title span {
  color: #8b0000;
  font-weight: 100;
}

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

.latest-card {
  background: transparent;
}

.latest-card-img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 15px;
}

.latest-card-img img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.latest-card-title {
  font-size: 12px;
  letter-spacing: 1px;
  color: #8b0000;
  margin-bottom: 10px;
}

.latest-card-list {
  list-style: none;
  padding: 0;
}

.latest-card-list li {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.latest-card-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #000000;
  font-size: 12px;
  font-weight: bold;
}

/* PRIMUS full width */
.full-width-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.full-width-section img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
.footer-wrapper {
  background: #f3f1ef;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-left {
  max-width: 320px;
}

.footer-logo img {
  width: 120px;
  margin-bottom: 15px;
}

.footer-description {
  font-size: 13px;
  color: #6b6b6b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-subscribe {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  background: #fff;
  overflow: hidden;
}

.footer-subscribe input {
  border: none;
  padding: 10px;
  flex: 1;
  font-size: 12px;
  outline: none;
}

.footer-subscribe button {
  background: #8b1c1c;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 12px;
  cursor: pointer;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h4 {
  font-size: 14px;
  color: #8b1c1c;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.footer-column li {
  font-size: 12px;
  color: #6b6b6b;
  margin-bottom: 8px;
  cursor: pointer;
}

.footer-social .footer-icons {
  display: flex;
  gap: 10px;
}

.footer-icons a {
  width: 32px;
  height: 32px;
  background: #8b1c1c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
}

/* BOTTOM BAR */
.footer-bottom {
  background: #8b1c1c;
  color: #fff;
  text-align: center;
  padding: 14px;
  font-size: 12px;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 992px) {
  .impact-content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .impact-card {
    max-width: 100%;
  }

  .impact-right img {
    max-width: 300px;
  }

  .globe-wrapper img {
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .impact-section {
    padding: 60px 15px;
  }

  .impact-section-title {
    font-size: 18px;
  }

  .impact-card-footer {
    font-size: 13px;
  }

  .impact-slider-controls {
    text-align: center;
  }
}

/* CARDS LIST */
.mobile-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  display: none;
}

/* CARD SHELL*/
.m-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.m-card__logo{
  padding-bottom: 10px;
}

/* ── Image ── */
.m-card__img {
  width: 100%;
  height: 560px;
  overflow: hidden;
  position: relative;
}

.m-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ── Image overlay: product label badge ── */
.m-card__badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(116, 15, 15, 0.90);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

/* ── Body ── */
.m-card__body {
  padding: 18px 18px 0;
}

.m-card__title {
  font-size: 22px;
  font-weight: 200;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.m-card__divider {
  width: 32px;
  height: 2px;
  background: var(--crimson);
  border-radius: 2px;
  margin-bottom: 12px;
}

.m-card__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-mid);
  font-weight: 400;
}

/* ── Stats ── */
.m-card__stats {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.m-card__stats li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.m-card__stats li .check-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Footer ── */
.m-card__footer {
  padding: 16px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.m-card__number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #c0b0b0;
  text-transform: uppercase;
}

.m-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: var(--crimson);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s;
}

.m-card__btn:hover,
.m-card__btn:active {
  background: var(--crimson-dark);
}

.m-card__btn svg {
  transition: transform 0.18s;
}

.m-card__btn:hover svg {
  transform: translateX(3px);
}

/* ACCENT CARD (every 3rd — crimson bg) */
.m-card--accent {
  background: var(--cream);
}

.m-card--accent .m-card__title {
  color: var(--crimson);
}

.m-card--accent .m-card__desc {
  color: #5a3a3a;
}

.m-card--accent .m-card__stats li {
  color: #3a1a1a;
}

.m-card--accent .m-card__number {
  color: #b09090;
}

/* PRIMUS CONTAINER — mirrors Bootstrap .container logic */
.p-container {
  width: 100%;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 2.5rem;
  padding-left: 2.5rem;
}

/* Responsive padding steps */
@media (max-width: 1024px) {
  .p-container {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
  .mobile-cards-list {
    display: block;
  }
  #cardsRow{
    display: none;
  }
}

@media (max-width: 768px) {
  .p-container {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  .m-card__img{
    height: 360px;
  }
}

@media (max-width: 480px) {
  .p-container {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
}