/*
-----------------------------
ESG PAGE STYLES
-----------------------------
*/

.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/PROGER_ESG_POZA.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -10;
}

.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-esg-report 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;
    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;
    line-height: 1.1;
}

.hero-section-text p{
    color: #ffffff;
    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: 0.95rem;
  }
  
  /* Mobile nav visibility */
  .navbar-wrap { display: none; }
  .btn-menu-hamburger { display: block; cursor: pointer; z-index: 1001; position: relative; }
  .open-button-hamburger, .close-button-hamburger { width: 30px; height: 30px; transition: opacity 0.3s ease; }
  .close-button-hamburger { display: none; }
  .btn-menu-hamburger.active .open-button-hamburger { display: none; }
  .btn-menu-hamburger.active .close-button-hamburger { display: block; }
}

/* Mobile Fullscreen Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu-content {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 24px;
  padding: 48px;
}
.mobile-menu-content ul { list-style: none; margin: 0; padding: 0; }
.mobile-primary-nav li { margin: 18px 0; }
.mobile-secondary-nav li { margin: 12px 0; }
.mobile-primary-nav a { color: var(--first-color); font-size: 3rem; font-weight: 800; text-decoration: none; }
.mobile-secondary-nav a { color: #fff; font-size: 1.7rem; font-weight: 600; text-decoration: none; opacity: 0.9; }

@media (max-width: 767px) {
  .mobile-menu-content { grid-template-columns: 1fr; text-align: left;}
  .mobile-secondary-nav { text-align: right; }
}


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

@media (max-width: 1023px) {
  .logo-header-navbar img {
    width: 140px !important;
  }
  .hero-section-content {
    padding-left: 16px;
  }
}
@media (max-width: 767px) {
  .logo-header-navbar img {
    width: 150px !important;
  }
  .hero-section-content {
    padding-left: 8px;
  }
}


/*
-----------------------------
ESG OVERVIEW SECTION
-----------------------------
*/

.esg-overview {
  background-color: #000000;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 10;
}

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

.esg-overview-img {
  width: 49%;
  background-image: 
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)),
      url("../img/other_pages/train-greenery (2).png");
      /* url("../img/other_pages/green-highway.jpg"); */
  filter: sepia(0.25);
  /* border-radius: 10px; */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 2;
}

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

.esg-overview-text {
  color: var(--third-color)
}

.esg-overview-text h1 {
  color: var(--first-color);
  font-size: var(--font-size-xl);
  font-weight: 900;
  margin-bottom: 3vh;
  line-height: 1.2;
}

.esg-overview-text h2 {
  color: var(--first-color);
  font-size: var(--font-size-l);
  font-weight: 700;
  margin-bottom: 4vh;
  line-height: 1.3;
}

.esg-overview-text p {
  color: var(--third-color);
  font-size: var(--font-size-s);
  line-height: 1.6;
  margin-bottom: 3vh;
  max-width: 100%;
}

.esg-overview-text p span {
  color: var(--third-color);
  font-size: var(--font-size-s);
  font-weight: 600;
}

.esg-overview-text p:last-child {
  font-style: italic;
  color: var(--first-color);
  font-weight: 600;
  margin-top: 2vh;
  margin-bottom: 0;
}

/*
-----------------------------
ESG PILLARS SECTION
-----------------------------
*/

.esg-pillars {
  background-color: var(--second-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8vh 0;
  z-index: 10;
}

.esg-pillars-title h1{
  text-align: center;
  color: var(--first-color);
  font-weight: 900;
  margin: 8vh 0;
}

.esg-pillars-split {
  display: flex;
  width: 100%;
  height: auto;
  min-height: 80vh;
  gap: 40px;
  padding: 0 8vw;
  max-width: 1600px;
  margin: 0 auto;
}

.esg-pillars-img {
  width: 45%;
  min-height: 400px;
  background-image: url("../img/other_pages/PROGER_E.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  /* filter: sepia(40%); */
  z-index: 2;
  border-radius: 16px;
}

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

.esg-pillars-text {
  color: var(--first-color);
}

.esg-pillars-text h2 {
  color: var(--first-color);
  padding: 10px 0;
  font-size: var(--font-size-l);
  margin-bottom: 20px;
}

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

.esg-pillars-text p {
  color: var(--third-color);
  margin: 20px 0;
  width: 100%;
  line-height: 1.6;
}

.esg-pillars-text ul {
  width: 90%;
  color: #ffffff;
  margin: 20px 0;
  padding-left: 20px;
}

.esg-pillars-text li {
  color: #ffffff;
  margin: 15px 0;
  /* line-height: 1.6; */
  font-size: var(--font-size-s);
  list-style-type: disc;
}

.esg-pillars-text .btn-black {
  width: 40%;
  margin-top: 30px;
}

#sustainability-img {
  background-image: url("../img/other_pages/PROGER_S.png");
  width: 45%;
  min-height: 400px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  /* filter: sepia(40%); */
  z-index: 2;
  border-radius: 16px;
  margin-right: 60px;
}

#governance-img {
  background-image: url("../img/other_pages/PROGER_G.png");
  width: 45%;
  min-height: 400px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  /* filter: sepia(40%); */
  z-index: 2;
  border-radius: 16px;
}

/*
-----------------------------
VISION 2030 SECTION
-----------------------------
*/

.vision-2030 {
  background-color: var(--second-color);
  min-height: 60vh;
  padding: 8vh 0 12vh 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* 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-category-text h4{
  color: #ffffff;
}
.oprcs-section-categories {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 30px;
}

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

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

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

.oprcs-section-category-img img{
  margin: 0 auto 10px;
  /* Removed filter - not reliable for exact colors */
}

/* Use CSS custom properties for exact color control */
.oprcs-section-category-img {
  position: relative;
}

.oprcs-section-category-img img {
  position: relative;
  z-index: 2;
}

.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;
}

/*
-----------------------------
DOWNLOAD ESG REPORT SECTION
-----------------------------
*/

.download-proof {
  background-color: black;
  text-align: center;
  /* padding: 60px 20px; */
}

.proof-container {
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
}

.proof-container h2 {
  color: var(--first-color);
  padding: 20px 0;
  font-size: var(--font-size-l);
}

.proof-container h4 {
  color: var(--third-color);
  padding-bottom: 20px;
}

.proof-container .btn-yellow {
  margin: 15px 30px;
}

/*
-----------------------------
RESPONSIVE DESIGN
-----------------------------
*/

@media (max-width: 1023px) {
  .esg-overview-split {
    flex-direction: column;
    height: auto;
  }
  
  .esg-overview-img,
  .esg-overview-content {
    width: 100%;
  }
  
  .esg-overview-img {
    height: 40vh;
  }
  
  .esg-overview-content {
    padding: 40px 60px;
  }
  
  .esg-overview-text h1 {
    font-size: var(--font-size-l);
  }
  
  .esg-overview-text h2 {
    font-size: var(--font-size-m);
  }
  
  .esg-overview-text p {
    font-size: var(--font-size-s);
  }
  
  .esg-pillars-split {
    flex-direction: column;
    height: auto;
    padding: 0 6vw;
  }
  
  .esg-pillars-img,
  .esg-pillars-content {
    width: 100%;
  }
  
  .esg-pillars-img {
    height: 40vh;
    margin-bottom: 20px;
  }
  
  .esg-pillars-content {
    padding: 40px 0;
  }
  
  .oprcs-section-categories {
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .oprcs-section-category {
    max-width: 250px;
  }
  
  /* Download proof responsive */
  .proof-container h2 {
    font-size: 1.5rem;
  }
  
  .proof-container h4 {
    font-size: 1rem;
  }
  
  .download-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 1023px) {

  .esg-overview-split :nth-child(1){
    order: 2;
  }

  .esg-overview-split :nth-child(2){
    order: 1;
  }
  .esg-overview-content {
    padding: 60px 40px 60px 40px;
  }
  
  .esg-overview-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5vh;
  }
  
  .esg-overview-text h2 {
    font-size: var(--font-size-s);
    margin-bottom: 3vh;
  }
  
  .esg-overview-text p {
    font-size: var(--font-size-xs);
    margin-bottom: 1.5vh;
  }
  
  .esg-overview-text p:last-child {
    margin-top: 3vh;
  }
  
  .esg-pillars-split {
    gap: 0px;
    padding: 0 4vw;
  }
  
  .esg-pillars-content {
    padding: 20px 0 40px 0;
  }
  
  .esg-pillars-text{
    padding-left: 20px;
  }

  .esg-pillars-text .btn-black {
    width: 100%;
  }
  
  .esg-pillars-title h1 {
    margin: 6vh 0;
    font-size: 3rem;
  }
  
  .esg-pillars-text h2 {
    font-size: var(--font-size-m);
  }
  
  .esg-pillars-text li {
    font-size: var(--font-size-xs);
    line-height: 1.6;
  }
  
  .esg-pillars-img,
  #sustainability-img,
  #governance-img {
    background-position: left;
    /* height: 35vh; */
    margin-right: 5vh;
    min-height: 250px;
    width: 100%;
  }
  
  /* Reorder sustainability section on mobile - image before text */
  .esg-pillars-split:nth-child(3) {
    flex-direction: column;
  }
  
  .esg-pillars-split:nth-child(3) #sustainability-img {
    order: -1;
    margin-bottom: 20px;
  }
  
  .oprcs-section-categories {
    flex-direction: column;
    align-items: center;
  }
  
  .oprcs-section-category {
    max-width: 300px;
  }
  
  /* Vision 2030 Section Mobile */
  .oprcs-section-title h2 {
    font-size: 3rem;
  }
  
  .oprcs-section-category h3 {
    font-size: var(--font-size-xs);
  }
  
  .oprcs-section-category p {
    font-size: var(--font-size-xs);
  }
  
  /* Download Proof Section Mobile */
  .proof-container {
    height: 40vh;
    padding: 0 20px;
  }
  
  .proof-container h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
  }
  
  .proof-container .btn-yellow {
    margin: 20px 0;
    padding: 15px 30px;
    font-size: 1.5rem;
    font-weight: 600;
  }
}
