.image-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    z-index: 10; /* Higher than hex-canvas z-index: 2 */
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/other_pages/esg-flipped.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -10;
    /* filter: sepia(20%); */
}

.over-image-section {
    position: relative;
    z-index: 10;
    height: 100%;
    text-align: center;
}

.nav-section {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0 10px;
}

.navbar-wrap {
    text-align: right;
}

.secondary-menu-navbar {
    display: inline-flex;
    flex-wrap: wrap;
}

.secondary-menu-link-navbar {
    padding: 2px 15px;
}

.secondary-menu-link-navbar a {
    color: var(--first-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.secondary-menu-link-navbar a:hover {
    font-weight: 800;
}

.primary-menu-navbar {
    display: inline-flex;
    flex-wrap: wrap;
}

.primary-menu-link-navbar {
    padding: 5px 15px;
}

.primary-menu-link-navbar a {
    font-size: 1.6rem;
    color: var(--third-color);
    font-weight: 500;
}

.primary-menu-link-navbar a:hover {
    color: var(--first-color);
}

.on-sustainability a{
    color: var(--first-color);
    font-weight: 900;
}
/* 
.btn-menu-hamburger{
    display: none;
} */

.hero-section-wrap {
    margin-top: 12vh;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-section-content {
    text-align: center;
    width: 60%;
    max-width: 600px;
    min-width: 280px;
    padding: 4vw 4vw 4vw 4vw; /* Add left padding to align with logo */
    background: none;
    float: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid linear-gradient(
        transparent,
        var(--first-color),
        transparent
    );
    box-shadow: 0 0 10px var(--first-color) inset;
    border-radius: 30px;
}

.hero-section-text {
    width: 100%;
    max-width: 600px;
}

.hero-section-text h1{
    color: var(--first-color);
    margin-bottom: 18px;
    /* font-size: 2.8rem; */
    line-height: 1.1;
}

.hero-section-text p{
    color: #ffffff;
    /* margin-bottom: 18px; */
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.5;
}

.hero-section-buttons .btn-black {
    margin-right: 16px;
}

@media (max-width: 1023px) {
  .hero-section-wrap {
    margin-top: 7vh;
    min-height: 50vh;
    justify-content: center;
    padding-top: 4vh;
  }
  .hero-section-content {
    width: 90%;
    max-width: 95vw;
    padding: 4vw 0;
  }
  .hero-section-text {
    max-width: 100vw;
  }
  .hero-section-text h1 {
    font-size: 2.1rem;
  }
  .hero-section-text p {
    font-size: 1rem;
  }
}
@media (max-width: 767px) {
  .image-hero {
    height: 70vh;
  }
  
  .hero-section-wrap {
    margin-top: 2vh;
    min-height: 60vh;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-section-content {
    width: 100%;
    max-width: 100vw;
    padding: 6vw 0 2vw 0;
  }
  .hero-section-text h1 {
    font-size: 3rem;
  }
  .hero-section-text p {
    font-size: 2rem;
  }
}

/*
-----------------------------
HONEYCOMB SECTION
-----------------------------
*/

main {
  position: relative;
  z-index: 1;
  background-color: var(--second-color);
}

.logo-header-navbar img {
    /* width: 180px !important; */
    max-width: 40vw;
    height: auto;
    display: block;
}

/*
-----------------------------
ESG REPORT SECTION
-----------------------------
*/
.esg-report{
    background: radial-gradient(
      circle at top right,
      rgba(255, 165, 0, 0.4) 0%,
      rgba(255, 165, 0, 0.3) 8%,
      rgba(255, 165, 0, 0.2) 15%,
      rgba(255, 165, 0, 0.15) 22%,
      rgba(255, 165, 0, 0.1) 28%,
      rgba(255, 165, 0, 0.05) 35%,
      transparent 40%
    );
}

.esg-report-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  gap: 40px;
  padding: 8vh 6vh;
}

.esg-report-split h1,h3,p,h4{
  color: #ffffff;
}

.esg-report-split p{
  font-size: var(--font-size-s);
  width: 95%;
  font-weight: 300;
  padding: 20px 0;
  margin-bottom: 10px;
}

.esg-report-split {
  display: flex;
  flex-direction: column;
  width: 70%;
  gap: 5px;
}

.esg-report-split h3{
  padding-bottom: 40px;
  width: 80%;
}

.esg-report-split h1{
  color: var(--first-color);
  width: 70%;
}

.esg-report-quote{
  width: 60%;
  text-align: right;
  
}

.esg-report-quote h3{
  padding-bottom: 20px;
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  font-style: italic;
  color: #ffffff;
}

.esg-report-quote h4{
  color: var(--third-color);
  font-size: var(--font-size-s);
  font-weight: 300;
}

.esg-report-quote span{
  color: var(--first-color);
  font-size: 1.17em;
}

@media (max-width: 767px) {
  .esg-report-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px 20px;
  }

  /* Flatten the first column so its children (text + button) can be ordered */
  .esg-report-split {
    display: contents;
  }

  /* Ensure quote stays a flex item so 'order' works */
  .esg-report-quote {
    display: block;     /* must not be 'contents' */
    order: 2;
    text-align: left;
    width: auto;       
  }

  .esg-report-text { order: 1; }
  .whwar-section-content-button { order: 3; }


  /* Mobile typography to mirror certifications */
  .esg-report-split h1 { font-size: 3rem; font-weight: 900; width: 100%; }
  .esg-report-split h3 { font-size: 1.8rem; font-weight: 700; line-height: 1.4; }
  .esg-report-split p { font-size: var(--font-size-s); line-height: 1.6; }
  .esg-report-quote h3 { font-size: var(--font-size-s); }
  .esg-report-quote h4 { font-size: 1.4rem; }
}

/*
-----------------------------
ESG COMMITMENT SECTION
-----------------------------
*/

.esg-commitment {
  background-color: var(--first-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 10;
}

.esg-commitment-split {
  display: flex;
  width: 100%;
  height: 100vh;
}

.esg-commitment-img {
  width: 50%;
  background-image: url("../img/other_pages/traintracks.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: sepia(40%);
  z-index: 2;
}

.esg-commitment-content {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.esg-commitment-text {
  color: var(--second-color);
}

.esg-commitment-text h2 {
  color: var(--second-color);
  padding: 10px 0;
}

.esg-commitment-text h3 {
  color: var(--second-color);
  padding: 10px 0;
}

.esg-commitment-text p {
  color: var(--second-color);
  margin: 20px 0;
  width: 80%;
  line-height: 1.6;
}

.esg-commitment-text .btn-black {
  display: flex;
  text-align: center;
  width: fit-content;
  margin-top: 30px;
}

@media (max-width: 767px) {
  .esg-commitment-split {
    flex-direction: column;
    height: auto;
  }
  .esg-commitment-img,
  .esg-commitment-content {
    width: 100%;
  }
  .esg-commitment-img {
    min-height: 40vh;
  }
  .esg-commitment-content {
    padding: 24px;
  }

  .esg-commitment-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start
  }
  .esg-commitment-text p {
    width: 100%;
  }

  .esg-commitment-text .btn-black {
    align-self: center;
  }
 
}

/*
-----------------------------
SUSTAINABILITY IN ACTION SECTION
-----------------------------
*/

.in-action {
  background-color: var(--second-color);
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: radial-gradient(
      circle at bottom left,
      rgba(255, 165, 0, 0.4) 0%,
      rgba(255, 165, 0, 0.3) 10%,
      rgba(255, 165, 0, 0.2) 15%,
      rgba(255, 165, 0, 0.15) 22%,
      rgba(255, 165, 0, 0.1) 25%,
      rgba(255, 165, 0, 0.05) 35%,
      transparent 40%
    );
    padding-top: 100px;
}

.oprcs-section-wrap {
  text-align: center;
  max-width: 1400px;
}

.oprcs-section-title {
  margin-bottom: 50px;
  text-align: center;
}

.oprcs-section-title h2,
.oprcs-section-category p{
  color: var(--first-color);
}
.oprcs-section-title h2{
  margin-bottom: 5px;
}
.oprcs-section-title h4{
  color: #ffffff;
}
.oprcs-section-category h3{
color: var(--third-color);
text-align: center;
}
.oprcs-section-category p{
color: #ffffff;
text-align: center;
}
.oprcs-section-categories {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 20px;
}

.oprcs-section-category {
  flex: 1;
  max-width: 200px;
}

.oprcs-section-category-text h4{
  font-size: var(--font-size-m);
  font-weight: 500;
}

.oprcs-section-category-img {
  text-align: center;
}

.oprcs-section-category-img img{
  margin: 0 auto 10px;
}

@media (max-width: 767px) {

  /* Removed gradient background for mobile */
  .in-action{ 
    background: var(--second-color);
  }

  .in-action { padding-top: 60px; }
  .oprcs-section-categories {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .oprcs-section-category {
    max-width: none;
    width: 100%;
  }

  .oprcs-section-category-text {
  display: flex;
  justify-content: center;
  align-items: center;
  }

  .oprcs-section-category-text h4 {
    text-align: center;
    width: 50%;
  }
  /* Mobile typography to mirror certifications */
  .oprcs-section-title h2 { font-size: 2.4rem; font-weight: 900; }
  .oprcs-section-title h4 { font-size: var(--font-size-xs); line-height: 1.6; }
  .oprcs-section-category-text h4 { font-size: var(--font-size-xs); font-weight: 400; line-height: 1.3; }
}

/* Additional mobile typography for sections */
@media (max-width: 767px) {
  /* ESG Commitment */
  .esg-commitment { min-height: auto; }
  .esg-commitment-text h2 { font-size: 3rem; font-weight: 900; }
  .esg-commitment-text h3 { font-size: 2.2rem; font-weight: 700; line-height: 1.4; }
  .esg-commitment-text p { font-size: var(--font-size-s); line-height: 1.6; }
  .esg-commitment-text .btn-black { padding: 15px 30px; font-size: 1.5rem; font-weight: 600; }

  /* Why it matters */
  .responsibly-wrap h2 { font-size: 3rem; font-weight: 900; text-align: center; }
  .responsibly-wrap h4 { font-size: var(--font-size-s); font-weight: 600; line-height: 1.5; width: 100%; }
  .wcu-buttons .btn-yellow,
  .wcu-buttons .btn-yellow-negativ { padding: 15px 30px; font-size: 1.5rem; font-weight: 600; }
}

.icon-wrap {
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease-out;
}

.icon-wrap.in-view {
  transform: translateY(0);
  opacity: 1;
}

.delay-animation-icon-1 {
  transition-delay: 0.1s;
}

.delay-animation-icon-2 {
  transition-delay: 0.2s;
}

.delay-animation-icon-3 {
  transition-delay: 0.3s;
}

/*
-----------------------------
WHY IT MATTERS SECTION
-----------------------------
*/

.why-it-matters {
  background-color: var(--second-color);
  background: radial-gradient(
    circle at top left,
    rgba(255, 165, 0, 0.4) 0%,
    rgba(255, 165, 0, 0.3) 10%,
    rgba(255, 165, 0, 0.2) 15%,
    rgba(255, 165, 0, 0.15) 22%,
    rgba(255, 165, 0, 0.1) 25%,
    rgba(255, 165, 0, 0.05) 35%,
    transparent 40%
  );
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* padding: 100px 0; */
}

.wcu-buttons{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.wim-wrap {
  text-align: center;
  max-width: 600px;
}

.wim-wrap p{
  color: var(--third-color);
  font-weight: 400;
  padding-bottom: 40%;
}

.wim-wrap h2{
  color: var(--first-color);
  margin-bottom: 20px;
}

.responsibly-wrap {
  text-align: center;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.responsibly-wrap h2{
  color: var(--first-color);
  margin-bottom: 20px;
}

.responsibly-wrap h4{ 
  color: #ffffff;
  margin-bottom: 20px;
  width: 70%;
}

@media (max-width: 767px) {
  .why-it-matters {
    background: var(--second-color);
  }

  .responsibly-wrap {
    display: flex;
    align-items: center;
    width: 95%;
  }

  .wcu-buttons {
    flex-direction: column;
    align-items: center;
  }
}

