/* Private Label Page Isolated Styles */

.private-label-page {
  font-family: "Rethink Sans", sans-serif;
  /* Matching site font */
  color: #181818;
  background-color: #fff;
  overflow-x: hidden;
}

.private-label-page * {
  box-sizing: border-box;
}

/* --- Hero Section --- */
.pl-hero {
  position: relative;
  padding: 80px 20px;
  background-color: #fff;
  /* Removed text-align: center so we can control alignment via flex/children */
}

.pl-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  /* Changed from column to row */
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.pl-hero-text {
  flex: 1;
  text-align: left;
}

.pl-hero-media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.pl-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #181818;
  line-height: 1.2;
}

.pl-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  /* Reduced specific width, let container handle it */
  margin-bottom: 30px;
  color: #555;
  line-height: 1.6;
}

.pl-cta-btn {
  background-color: #8fa062;
  color: #fff;
  padding: 15px 40px;
  border-radius: 20px;
  /* text-transform: uppercase; */
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.pl-cta-btn:hover {
  background-color: #0093dd;
  color: #fff;
}

.pl-hero-image {
  /* Removed top margin as flex gap handles spacing now */
  max-width: 100%;
  height: auto;
  max-height: 500px;
  /* Optional constraint */
}

.pl-hero-pouches {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.pl-pouch-mockup {
  width: 200px;
  height: 300px;
  background-color: #f9f9f9;
  border: 2px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pl-pouch-mockup img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* --- Why Us Section --- */
.pl-why-us {
  padding: 60px 20px;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

.pl-why-us h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #181818;
  position: relative;
  padding-left: 20px;
}

.pl-why-us h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 30px;
  background-color: #8fa062;
}

.pl-features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.pl-feature-card {
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 25px 15px;
  text-align: center;
  transition: all 0.3s ease;
  background: #fff;
  height: 100%;
}

.pl-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: #8fa062;
}

.pl-feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #8fa062;
  /* Highlight color */
  font-weight: 700;
}

.pl-feature-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* --- Product Showcase --- */
.pl-showcase {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
}

.pl-pouches-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.pl-pouch-item {
  width: 220px;
}

.pl-pouch-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- Advantages Section --- */
.pl-advantages {
  padding: 80px 20px;
  background-color: #fff;
  border-top: 1px solid #eee;
}

.pl-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.pl-section-header h2 {
  font-size: 2.5rem;
  color: #000000;
  /* Dark graphical color from image */
  margin-bottom: 10px;
}

.pl-section-header h2 span {
  color: #8fa062;
  /* Darker red */
}

.pl-advantage-list {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pl-adv-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.pl-adv-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.pl-adv-content {
  flex: 1;
  padding-right: 40px;
}

.pl-adv-content h3 {
  font-size: 1.8rem;
  color: #000000;
  margin-bottom: 15px;
}

.pl-adv-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.pl-adv-icon {
  width: 230px;
  height: 170px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eee;
}

.pl-adv-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  transition: transform 0.3s ease;
}

.pl-adv-item:hover .pl-adv-icon img {
  transform: scale(1.1);
}

/* Reverse layout for visual interest */
.pl-adv-item:nth-child(even) {
  flex-direction: row-reverse;
}

.pl-adv-item:nth-child(even) .pl-adv-content {
  padding-right: 0;
  padding-left: 40px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .pl-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .pl-hero-content {
    flex-direction: column;
    text-align: center;
  }

  .pl-hero-text {
    text-align: center;
    margin-bottom: 40px;
  }

  .pl-hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .pl-hero h1 {
    font-size: 2.5rem;
  }

  .pl-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pl-adv-item,
  .pl-adv-item:nth-child(even) {
    flex-direction: column-reverse;
    text-align: center;
    padding: 30px 20px;
  }

  .pl-adv-content,
  .pl-adv-item:nth-child(even) .pl-adv-content {
    padding: 0;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .pl-features-grid {
    grid-template-columns: 1fr;
  }

  .pl-pouches-row {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== Certificate Infinite Slider ===== */

/* --- Certificates Slider Section --- */
.pl-certificates {
  padding: 60px 20px;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

.certificate-slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.certificate-slider-track {
  display: flex;
  width: max-content;
  animation: certificate-scroll 35s linear infinite;
}

.certificate-slide {
  flex: 0 0 300px;
  margin-right: 20px;
  background: #ffffff;
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  overflow: hidden;
}

.certificate-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.certificate-slide img:hover {
  transform: scale(1.05);
}

/* Infinite Animation */
@keyframes certificate-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Pause on Hover (Optional but recommended) */
.certificate-slider-wrapper:hover .certificate-slider-track {
  animation-play-state: paused;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .certificate-slide {
    flex: 0 0 200px;
    margin-right: 15px;
    height: 200px;
  }
}
