/* ----------------------------------
   BASE SETUP & GLOBALS
---------------------------------- */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #000;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ----------------------------------
   NAVBAR
---------------------------------- */

html {
  scroll-padding-top: 90px; /* Adjust this to match your navbar height */
}

.hero {
  padding-top: 320px; /* Adjust as needed */
  text-align: center;  /* Optional: keeps it centered */
}


.navbar {
  padding: 1rem 2rem;
  background: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-spaced {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #232323;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* optional: adds "..." if it overflows */
}
.logo-spaced:hover {
  color: #111;
}

.cta-group {
  display: flex;
  gap: 1rem;
}

/* ----------------------------------
   HERO SECTION (Headline/Slogan)
---------------------------------- */
.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}
.headline {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}
.subhead {
  font-size: 40px;
  font-weight: 700;
  color: #999;
  letter-spacing: -0.04em;
  margin-top: 0;
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ----------------------------------
   BUTTONS (Navbar, Hero, Connect)
---------------------------------- */
.btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn.dark {
  background-color: #000;
  color: white;
}
.btn.dark:hover {
  background-color: #222;
}
.btn.light {
  background-color: #eee;
  color: #000;
}
.btn.light:hover {
  background-color: #ddd;
}

/* ----------------------------------
   ABOUT SECTION
---------------------------------- */

/* ----------------------------------
   FRAMED SECTION STYLE (Who We Are / Why Partner)
---------------------------------- */
.framed-section {
  width: 90vw;
  max-width: 900px;
  margin: 60px auto 0 auto;
  padding: 40px 0 48px 0;
  background: #f9f9fa;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(50,50,60,0.04);
}

/* Space between two framed sections */
.framed-section + .framed-section {
  margin-top: 32px;
}

.about-section {
  width: 90vw;
  max-width: 900px;
  margin: 70px auto 0 auto;
  padding: 38px 0 20px 0;
}
.about-container {
  text-align: left;
  padding: 0 8px;
}
.about-section h2, .about-section h3 {
  font-weight: 700;
  margin-bottom: 0.5em;
  color: #191919;
  letter-spacing: -0.02em;
}
.about-section h2 {
  font-size: 1.6rem;
  margin-top: 0;
}
.about-section h3 {
  font-size: 1.18rem;
  margin-top: 2.1em;
}
.about-lead {
  font-size: 1.09rem;
  color: #424242;
  margin-bottom: 1.4em;
  line-height: 1.6;
}

/* ----------------------------------
   HERO GALLERY SECTION (Sticky Images)
---------------------------------- */
.hero-gallery-section {
  min-height: 420px;
  height: auto; /* Remove fixed vh height */
  position: relative;
  background: #fff;
  z-index: 1;
  padding: 32px 0 32px 0; /* Add some space above and below if you like */
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-gallery-frame {
  position: sticky;
  top: 90px;
  width: 90vw;
  max-width: 900px;
  height: 58vh;
  min-height: 350px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(50,50,60,0.10), 0 1.5px 10px rgba(80,80,80,0.08);
  background: #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-gallery-frame .gallery-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.72,0,.37,1);
  z-index: 1;
}
.hero-gallery-frame .gallery-slide.active {
  opacity: 1;
  z-index: 2;
}

/* ----------------------------------
   FEATURES SECTION (3 Rectangles)
---------------------------------- */
.features-container {
  width: 90vw;
  max-width: 900px;
  margin: 54px auto 0 auto;
  padding: 0;
}
.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.feature-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-img-frame {
  width: 100%;
  height: 110px;
  background: #f5f5f5;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(60,60,60,0.07);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.feature-col h3,
.feature-col p {
  text-align: left;
}



/* ----------------------------------
   SERVICES SECTION
---------------------------------- */
.services-lifecycle-section {
  width: 97vw;
  max-width: 1200px;
  margin: 56px auto 0 auto;
  padding: 44px 0 36px 0;
  background: #f9f9fa;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(50,50,60,0.04);
  text-align: center;
}
.lifecycle-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.lifecycle-step {
  flex: 1 1 0;
  min-width: 140px;
  max-width: 240px;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lifecycle-icon {
  min-height: 140px;     /* Adjust to the tallest block you need */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.lifecycle-icon {
  min-height: 140px;     /* Adjust to the tallest block you need */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}


.lifecycle-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
}
.lifecycle-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #181818;
  margin-bottom: 0;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .lifecycle-row {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .lifecycle-step {
    max-width: 340px;
    margin: 0 0 18px 0;
  }
}

.sourcing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  width: 120px;
  height: 120px;
  margin: 0 auto 18px auto;
  justify-items: center;
  align-items: center;
}
.sourcing-top-left { grid-column: 1; grid-row: 1; }
.sourcing-top-right { grid-column: 2; grid-row: 1; }
.sourcing-bottom-left { grid-column: 1; grid-row: 2; }
.sourcing-bottom-right { grid-column: 2; grid-row: 2; }
.sourcing-grid img { width: 50px; height: 50px; }

.production-grid {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 0px 14px;
  align-items: center;
  justify-content: center;
  height: 110px; /* adjust for your icon heights */
  width: 120px;  /* or auto */
  margin-bottom: 18px;
}
.production-tshirt { grid-column: 1; grid-row: 1; width: 50px; height: 50px; }
.production-pants  { grid-column: 1; grid-row: 2; width: 50px; height: 50px; }
.production-sewing { grid-column: 2; grid-row: 1 / span 2; width: 54px; height: 110px; object-fit: contain; }

.lifecycle-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ----------------------------------
   PRODUCT RANGE SECTION (Centered, Card)
---------------------------------- */
.product-range-section {
  width: 90vw;
  max-width: 900px;
  margin: 70px auto 0 auto;
  padding: 44px 0 36px 0;
  background: #f9f9fa; /* same as connect-section */
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(50,50,60,0.04);
}

.product-range-container {
  text-align: center;
  padding: 0 8px;
}

.product-range-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.8em;
  color: #1a1a1a;
  letter-spacing: -0.03em;
}

.product-range-lead {
  font-size: 1.15rem;
  color: #414141;
  margin: 0 auto 0 auto;
  max-width: 1000px;
  line-height: 1.7;
  font-weight: 500;
  white-space: pre-line;
  display: inline-block;
}



/* ----------------------------------
   SUSTAINABILITY SECTION (Centered, Wide)
---------------------------------- */
.sustainability-section {
  width: 97vw;
  max-width: 1100px;
  margin: 70px auto 0 auto;
  padding: 44px 0 36px 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.sustainability-container {
  text-align: center;
  padding: 0 8px;
}
.sustainability-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.8em;
  color: #1a1a1a;
  letter-spacing: -0.03em;
}
.sustainability-lead {
  font-size: 1.15rem;
  color: #414141;
  margin: 0 auto 0 auto;
  max-width: 1000px;
  line-height: 1.7;
  font-weight: 500;
  white-space: pre-line;
  display: inline-block;
}

.sustainability-section {
  width: 90vw;
  max-width: 900px;
  margin: 70px auto 0 auto;
  padding: 44px 0 36px 0;
  background: #f9f9fa; /* same as connect-section */
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(50,50,60,0.04);
}

/* ----------------------------------
   CONNECT SECTION (Let’s Connect)
---------------------------------- */
.connect-section {
  width: 90vw;
  max-width: 900px;
  margin: 60px auto 0 auto;
  padding: 40px 0 48px 0;
  background: #f9f9fa;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(50,50,60,0.04);
}
.connect-container {
  text-align: center;
  padding: 0 12px;
}
.connect-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5em;
  color: #171717;
  letter-spacing: -0.02em;
}
.connect-lead {
  font-size: 1.07rem;
  color: #474747;
  margin-bottom: 2em;
  font-weight: 500;
}
.connect-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  background: #232323;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 1.5px 7px rgba(50,50,60,0.07);
  transition: background 0.18s, box-shadow 0.18s;
}
.connect-btn:hover,
.connect-btn:focus {
  background: #444;
  box-shadow: 0 4px 14px rgba(40,40,60,0.10);
}

/* ----------------------------------
   RESPONSIVE ADJUSTMENTS
---------------------------------- */
@media (max-width: 809px) {
  .navbar-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    padding: 40px 20px;
  }
  .headline,
  .subhead {
    font-size: 28px;
  }
  .hero-actions {
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .features-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .features-container {
    width: 98vw;
    max-width: 100%;
  }
  .about-section,
  .services-section,
  .sustainability-section {
    width: 98vw;
    max-width: 100%;
    padding: 28px 0 20px 0;
  }
  .about-section h2,
  .services-section h2,
  .sustainability-section h2 {
    font-size: 1.11rem;
  }
  .about-lead,
  .services-lead,
  .sustainability-lead {
    font-size: 0.98rem;
  }
  .connect-section {
    width: 98vw;
    max-width: 100%;
    padding: 28px 0 36px 0;
  }
}

/* ----------------------------------
   (OPTIONAL) REMOVE TEMPORARY PAGE FILLER
---------------------------------- */
/* body::after {
  content: '';
  display: block;
  height: 160vh; 
} */


/* Unified style for all major section headings (including about-section h3) */
.about-section h2,
.about-section h3,
.product-range-section h2,
.sustainability-section h2,
.services-lifecycle-section h2,
.connect-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.8em;
  letter-spacing: -0.03em;
}

@media (max-width: 809px) {
  .navbar-container {
    flex-direction: column;
    align-items: center; /* center logo and nav group */
  }

  .logo-spaced {
    margin-bottom: 12px; /* spacing under logo */
  }

  .cta-group {
    flex-direction: row;         /* keep buttons side-by-side */
    justify-content: center;     /* center horizontally */
    flex-wrap: wrap;             /* wrap if needed */
    gap: 12px;                   /* space between buttons */
  }
}