/* WHO WE SERVE PAGE STRUCTURE */

/* General Layout & Reset */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  box-sizing: border-box;
}

/* SECTION 1: Hero Banner */
.hero-section {
  background: linear-gradient(rgba(235, 175, 55, 0.9), rgba(235, 175, 55, 0.9)),
              url('http://localhost:10004/wp-content/uploads/2025/07/0162-2-scaled.webp') center/cover no-repeat;
  color: #5f0f40;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 370px;
  padding: 15px 20px;
  margin-top: 90px;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-top: 35px;
  line-height: 1.2;
  color: #5f0f40;
}

.hero-section p {
  font-size: 2rem;
  font-family: 'League Spartan', sans-serif;
  color: #f5f5dc;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  line-height: 0;
}

/* SECTION 2: Card Grid - Deep Green */
.main-container {
  background-color: #004b49;
  padding: 60px 20px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 50%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.card-content {
  padding: 20px;
  text-align: center;
}

.card-heading {
  background: #047857;
  color: white;
  padding: 10px;
}

/* SECTION 3: Client Journey - Horizontal Layout */
.client-Journey .core-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.client-Journey {
  background: #5f0f40;
  color: #ebaf37;
  padding: 10px 20px;
  text-align: center;

}

.client-Journey h2 {
  font-size: 3rem;
  color: #f5f5dc;
  text-align: center;
  margin-bottom: 40px;

}

.client-Journey .core-item p:first-of-type {
  color: #f5f5dc;
  font-weight: 700;
  font-size: 1.3rem;
  margin-top: 15px;
  margin-bottom: 10px;
}

.client-Journey .core-item p:not(:first-of-type) {
  color: #f5f5dc;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
}

.core-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
}

.core-item {
  text-align: center;
  flex: 0 0 auto;
  max-width: 250px;
}

.core-item img {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

/* Arrow Styling */
.core-grid .arrow {
  flex: 0 0 auto;
  font-size: 2.5rem; /* slightly smaller */
  margin: 0 10px;  /* add horizontal spacing */
  color: #f5f5dc;
}

.client-journey-buttons {
  display: grid;
  grid-template-columns: repeat(3, 200px); /* 3 equal columns */
  justify-content: center;
  gap: 80px;
  margin: 40px auto 0;
  width: max-content; /* Container width fits content */
}

.client-journey-buttons .btn-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 25px;
  background: #f5f5dc;
  color: #5f0f40;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  border: 2px solid transparent;
  min-width: 200px;       /* same width so buttons align evenly */
  box-sizing: border-box;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.client-journey-buttons .btn-outline:hover {
  background: #5f0f40;
  color: white;
  border: 2px solid white;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .core-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .core-grid .arrow {
    display: none;
  }
  
  .card-image {
    width: 50%;
    height: 240px;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 1200px) {
  .client-Journey .core-grid {
    flex-wrap: wrap;
  }
}

/* SECTION 4: Sustainability - Yellow and Dark Background Split */
.sustainability-section {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0; /* Remove padding to eliminate white space */
}

.sustainability-content-left,
.sustainability-content-right {
  flex: 1 1 50%;
  padding: 40px 30px;
  box-sizing: border-box;
}

.sustainability-content-left {
  background: #ebaf37;
  border: 4px solid #5f0f40; /* You can change 4px to any thickness you want */

}

.sustainability-content-right {
  background: #5f0f40;
  border: 4px solid #5f0f40; /* You can change 4px to any thickness you want */

}

.explore-button {
  background: #5f0f40;
  color: #f5f5dc;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}

/* Graph Container */
.graph-container {
  margin-top: 30px;
  max-width: 500px;
  width: 100%;
}

.graph-container img.graph-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.graph-legend {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #5f0f40;
}

.legend-color-box {
  width: 20px;
  height: 20px;
  background-color: #ebaf37; /* default color */
  border-radius: 4px;
}

.legend-item.operations .legend-color-box {
  background-color: #ebaf37;
}

.legend-item.transportation .legend-color-box {
  background-color: #39707c;
}

.legend-item.manufacturing .legend-color-box {
  background-color: #4A403A;
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 0;
  padding: 0;
}

.image-grid .grid-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .grid-container,
  .core-grid,
  .image-grid {
    grid-template-columns: 1fr;
  }

  .sustainability-section {
    flex-direction: column;
  }

  .sustainability-content-left,
  .sustainability-content-right {
    flex: 1 1 100%;
    padding: 20px;
  }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    
    min-height: auto; /* Let content define height */
  }

  .content-wrapper {
    max-width: 100%;
    padding: 60px 20px 3px;
  }

  .hero-section h1 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
  }

  .hero-section p {
    font-size: 1.5rem;
    margin: 0;
	color: #5f0f40;
  }
/* SECTION : Client journey button - Yellow and Dark Background Split */
@media (max-width: 768px) {
  .client-journey-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* full width on small screens */
  }

  .client-journey-buttons .btn-outline {
    width: 90%;       /* takes most of screen width */
    max-width: 300px; /* limit button width */
    min-width: unset; /* override fixed min-width */
    font-size: 0.95rem;
    padding: 12px 20px;
  }
}


}
