/*
-----------------------------
WHY PROGER PAGE STYLES
-----------------------------
*/

/*
-----------------------------
NAVIGARE
-----------------------------
*/

.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.4), rgba(0, 0, 0, 0.7)), url("../img/homepage/autostrada-nocturna-3.jpg");
    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-why-proger 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: var(--font-size-s)
  }
  
}

/*
-----------------------------
WHO WE ARE SECTION
-----------------------------
*/

.who-we-are {
    background-color: var(--second-color);
    min-height: 60vh; 
    height: auto;
}

.who-we-are-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    height: auto;
    /* margin-bottom: 6vh; */
}


/* Our Story video overlay and video styling */
.whwar-section-img {
  position: relative;
  width: 50%;
  height: 100vh;
  background-image: url("../img/homepage/Rectangle1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 2;
}
.video-black-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  z-index: 2;
  pointer-events: none;
}
.whwar-section-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  position: relative;
  z-index: 1;
}

.whwar-section-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
}

.whwar-section-content {
    width: 70%;
}

.whwar-section-content-title {
    margin-bottom: 28px;
}

.whwar-section-content-title h2 {
    color: var(--first-color);
    margin-bottom: 5px;
}

.whwar-section-content-text  p,
.whwar-section-content-title h4 {
  width: 80%;
    color: #ffffff;
}

.whwar-section-content-text span{
    color: var(--first-color);
    font-size: var(--font-size-m);
}

.whwar-section-content-button {
    margin-top: 50px;
}

/*
-----------------------------
VISION AND MISSION SECTION
-----------------------------
*/
.our-vision {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--second-color);
  padding: 0;
  width: 100%;
}

.our-mission {
  /* height: 70vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: var(--second-color); */
  padding: 0 ;
}

/* #material-sourcing {
  background: #181818;
} */

.vision-mission-split {
  height: 100%;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row; 
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 80%;
}

/* Specific styling for own-sourcing section only */
.own-sourcing .vision-mission-split {
  align-items: stretch;
  justify-content: space-between;
  width: 90%;
  gap: 8vh;
  flex-wrap: nowrap;
}

.vision-mission-section {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Specific styling for own-sourcing section only */
.own-sourcing .vision-mission-section {
  width: 45%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.vision-mission-split h2 {
  color: var(--first-color);
  padding: 20px 0;
  font-size: var(--font-size-xl);
  text-align: center;
}

/* Specific styling for own-sourcing section only */
.own-sourcing .vision-mission-split h2 {
  padding: 0 0 10px 0;
  margin: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-l);
  font-weight: 800;
}

.vision-mission-split h3 {
  color: var(--third-color);
}

.vision-mission-split p {
  color: var(--third-color);
  font-size: var(--font-size-s);
  line-height: 1.4;
  /* font-weight: 500; */
}

.vision-mission-split li {
  color: var(--third-color);
  font-size: var(--font-size-s); /* or a fixed size like 2rem */
  /* line-height: 2.4rem;           optional: improves readability */
  /* font-weight: 500;   */
  padding: 1% 0;
}

.vision-mission-split ul {
  padding: 10px 5%;
  list-style-type: disc; /* removes default bullet points */
}

/* Specific styling for own-sourcing section only */
.own-sourcing .vision-mission-split li {
  padding: 8px 0;
  text-align: left;
}

.own-sourcing .vision-mission-split ul {
  padding: 0 0 0 10px;
  margin: 0;
  margin-top: 0;
}

/*
-----------------------------
OWN SOURCING SECTION
-----------------------------
*/
.own-sourcing {
  min-height: 60vh;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 8vh 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.8)
    ),
    url('../img/other_pages/own-sourcing-background.jpg') center center / cover no-repeat;
  position: relative;
  z-index: 9;
}

.own-sourcing {
  width: 100%;
}

.own-sourcing .vision-mission-split {
  justify-content: space-around;
}

.own-sourcing-content {
  max-width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  display: flex;
  gap: 5vh;
}

.own-sourcing h1 {
  color: var(--first-color);
  padding: 4vh 0;
  text-align: center;
}

.own-sourcing p {
  color: var(--third-color);
  font-size: var(--font-size-l);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#invis {
  visibility: hidden;
}

/*
-----------------------------
CERTIFICATIONS SECTION
-----------------------------
*/
.certifications {
    text-align: center;
    padding: 16vh 0;
    min-height: 100vh;
    background-color: var(--second-color);
    padding-bottom: 12vh;
}

.crtf-section-wrap {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.crtf-section-content-title {
    width: 100%;
    text-align: center;
    padding-bottom: 8vh;
}

.certifications h2{
    color: var(--first-color);
}

.certifications h4, p{
    color: #fff;
}

.crtf-section-badges {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.crtf-section-badges:hover > .crtf-section-badges-category::after {
    opacity: 1;
}

.crtf-section-badges-category {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    height: 260px;
    flex-direction: column;
    position: relative;
    width: 300px;
    text-align: center;
    margin-bottom: 25px;
}

.crtf-section-badges-category:hover::before {
    opacity: 1;
}

.crtf-section-badges-category::before,
.crtf-section-badges-category::after {
    border-radius: inherit;
    content: "";
    height: 100%;
    left: 0px;
    opacity: 0;
    position: absolute;
    top: 0px;
    transition: opacity 500ms;
    width: 100%;
}

.crtf-section-badges-category::before {
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y), 
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    z-index: 3;
}

.crtf-section-badges-category::after {  
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y), 
        rgba(255, 255, 255, 0.4),
        transparent 40%
    );
    z-index: 1;
}

.crtf-section-badges-category > .crtf-section-badges-category-content {
    background-color: var(--second-color);
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    inset: 1px;
    padding: 20px;
    position: absolute;
    z-index: 2;
}

.crtf-section-badges-category-logo {
    align-items: center;
    display: flex;
    height: 80px;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 15px;
}

.crtf-section-badges-category-logo h4 {
    font-size: 2.2em;
    color: var(--first-color);
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.crtf-section-badges-category-text {
    align-items: flex-start;
    display: flex;
    flex-grow: 1;
    justify-content: flex-start;
    padding: 0px 15px;
}

.crtf-section-badges-category-text p {
    color: #ffffff;
    font-size: 1.4em;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

.crtf-section-badges-category-logo img{
    margin: 0 auto;
}

.animated-image img {
  transform: scale(0);
  opacity: 0;
  transition: all 0.7s ease-out;
}


.animated-image.in-view img {
  transform: scale(1);
  opacity: 1;
}

.delay-animation-crtf-1 img{
    transition-delay: 0.2s;
}

.delay-animation-crtf-2 img{
    transition-delay: 0.7s;
}

.delay-animation-crtf-3 img{
    transition-delay: 0.4s;
}

@media (max-width: 1023px) {
  .crtf-section-badges-category {
    flex-shrink: 1;
    width: calc(50% - 15px);
  }
}

@media (max-width: 767px) {
  .crtf-section-badges-category {
    height: 250px;
    width: 100%;
  }

  .crtf-section-content-title h2{
    font-size: 3rem;
  }
  
  .crtf-section-badges-category-logo {
    height: 80px;
  }
  
  .crtf-section-badges-category-logo h4 {
    font-size: var(--font-size-m);
  }
  
  .crtf-section-badges-category-text p {
    font-size: var(--font-size-xxs);
  }
}



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

@media (max-width: 1023px) {
  /* .container {
    width: 95%;
    padding: 0 20px;
  } */
  
  /* Navigation */
  .nav-section {
    padding: 20px 0 10px;
  }
  
  .logo-header-navbar img {
    width: 140px !important;
  }
  
  /* Hero Section */
  .hero-section-wrap {
    margin-top: 8vh;
    min-height: 60vh;
    justify-content: center;
  }
  
  .hero-section-content {
    width: 90%;
    max-width: 95vw;
    padding: 4vw 0;
    text-align: center;
  }
  
  .hero-section-text h1 {
    font-size: 2.4rem;
  }
  
  .hero-section-text p {
    font-size: 1.2rem;
  }
  
  /* Who We Are Section */
  .who-we-are-split {
    flex-direction: column;
    min-height: auto;
  }
  
  .whwar-section-img {
    width: 100%;
    height: 50vh;
    min-height: 300px;
  }
  
  .whwar-section-wrap {
    width: 100%;
    padding: 40px 20px;
  }
  
  .whwar-section-content {
    width: 100%;
    text-align: center;
  }
  
  .whwar-section-content-title h2 {
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  }
  .whwar-section-content-text p {
    font-size: var(--font-size-s);
  }
  
  .whwar-section-content-title h4 {
    font-size: 1.8rem;
    font-weight: 700;
  }
  

}

@media (max-width: 767px) {
  /* .container {
    width: 100%;
    padding: 0 15px;
  } */

  .vision-mission-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
  }
  
  /* Navigation */
  .nav-section {
    padding: 40px 0 10px;
  }
  
  .logo-header-navbar img {
    width: 110px !important;
  }
  
  .navbar-wrap {
    display: none; /* Hide desktop menu on mobile */
  }
  
  .btn-menu-hamburger {
    display: block; /* Show mobile menu button */
  }
  
  /* Hero Section */
  .hero-section-wrap {
    margin-top: 4vh;
    min-height: 50vh;
    padding-top: 2vh;
  }
  
  .hero-section-content {
    width: 100%;
    max-width: 100vw;
    padding: 6vw 0 2vw 0;
    text-align: center;
  }
  
  .hero-section-text h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  }
  
  .hero-section-text p {
    font-size: 2rem;
    margin-bottom: 25px;
  }
  
  .hero-section-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .hero-section-buttons .btn-black {
    margin-right: 0;
  }
  
  /* Who We Are Section */
  .whwar-section-img {
    height: 40vh;
    min-height: 250px;
  }
  
  .whwar-section-wrap {
    padding: 30px 15px;
  }
  
  .whwar-section-content {
    width: 100%;
    text-align: center;
  }
  
  .whwar-section-content-title h2 {
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  }
  
  .whwar-section-content-title h4 {
    font-size: 1.8rem;
    font-weight: 700;
  }
  
  .whwar-section-content-text p {
    font-size: var(--font-size-xs);
    padding-bottom: 20px;
  }
  
  .whwar-section-content-button {
    margin-top: 30px;
  }
  
  /* Limit text width for readability */
  .whwar-section-content-text {
    width: 90%;
    margin: 0 auto;
  }
  
  /* Our Vision: stack columns on mobile */
  .our-vision { height: auto; padding: 20px 0; }
  .our-vision .vision-mission-split {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  .our-vision .vision-mission-section {
    width: 100%;
    height: auto;
    padding-top: 20px;
  }

  .our-vision .vision-mission-content p {
    font-size: var(--font-size-s);
  }

  /* Own Sourcing: stack columns on mobile */
  .own-sourcing .vision-mission-split {
    width: 100%;
    flex-direction: column;
    gap: 24px;
  }
  .own-sourcing .vision-mission-section {
    width: 100%;
    height: auto;
    padding: 20px 15px;
  }
  /* Align the two lists consistently */
  .own-sourcing .vision-mission-content {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
  }

  .own-sourcing .vision-mission-content p {
    font-size: var(--font-size-s);
  }
  .own-sourcing .vision-mission-split ul {
    padding: 0 0 0 24px; /* fixed left padding so bullets align */
    margin: 0;
    list-style-position: outside;
  }
  .own-sourcing .vision-mission-split li {
    padding: 8px 0;
    text-align: left;
    font-size: var(--font-size-s);
  }


}

/* Mobile typography adjustments aligned with certifications */
@media (max-width: 767px) {
  /* Vision/Mission blocks */
  .vision-mission-split h2 { font-size: 3rem; font-weight: 900; }
  .vision-mission-split p { 
    font-size: 1.4rem; 
    line-height: 1.6; 
    text-align: center;
    width: 90%;
  }
  .vision-mission-split li { font-size: 1.4rem; }

  /* Own sourcing hero */
  .own-sourcing h1 { font-size: 3rem; }
}

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

.who-we-are, .our-vision, .our-mission {
  position: relative;
  overflow: hidden;
}

.who-we-are img,
.our-vision img,
.our-mission img {
  position: relative;
  z-index: 4;
}

