:root {
  --soil-brown: #5a3721;
  --clay-orange: #D2691E;
  --beige: #c1b27d;
  --text-dark: #2e2e2e;
  --soft-gray: #f9f9f9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #ebe9aa;
  color: var(--text-dark);
}

/* SECTIONS */
.hero-banner {
  width: 100%;
  height: 450px;
  object-fit: cover;
}
.hero-static{
  position: relative;
    
    overflow: hidden;
    color: var(--white); 
}
.about-section, .market-section, .solutions {
    padding: 3rem 0rem;
    max-width: 1200px;
    margin: auto;
    text-align: left;
}

.about-section h2 {
    font-size: 2rem;
    font-weight: 500;
}

.about-section p{
    font-size: 1.1rem;
    font-weight: 400;
    text-align: justify;
    line-height: 2rem;
}

/* MARKET */
.market-section {
    display: flex;
    gap: 5rem;
    /* align-items: center; */
    flex-wrap: wrap;
}

.market-img {
  flex: 1 1 400px;
  border-radius: 10px;
  max-width: 400px;
}

.market-text {
  flex: 1 1 500px;
}

.market-text h2{
  font-size: 1.5rem;
  font-weight: 600;
}
.market-text p{
    font-size: 1.1rem;
    font-weight: 500;
    text-align: justify;
    line-height: 2rem;
}


.timeline {
  padding: 4rem 2rem;
  text-align: center;
  background: #f1efbd;
}

.timeline h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--soil-brown);
}

.timeline-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #2e2e2e, #D2691E, #00c6ff);
  z-index: 1;
  border-radius: 8px;
}

.milestone {
  text-align: center;
  flex: 1 1 150px;
  min-width: 150px;
  position: relative;
  z-index: 2;
}

.milestone .dot {
  width: 16px;
  height: 16px;
  background: #fff;
  border: 4px solid var(--soil-brown);
  border-radius: 50%;
  margin: 0 auto 10px;
  position: relative;
  z-index: 3;
}

.milestone h3 {
  margin: 0.5rem 0;
  font-size: 1.3rem;
  color: var(--clay-orange);
}

.milestone img {
  height: 32px;
  margin: 1.5rem 0;
  filter: grayscale(100%) brightness(0.3);
}

.milestone h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--soil-brown);
  font-weight: 600;
}

.milestone p {
  font-size: 0.9rem;
  color: #555;
  max-width: 180px;
  margin: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .timeline-wrapper::before {
    height: auto;
    width: 6px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
  }

  .milestone {
    flex-direction: column;
    margin-bottom: 2rem;
  }

  .milestone .dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
  }
}


.team-section {
  padding: 4rem 2rem;
  background-color: #f1efbd;
  text-align: center;
}

.team-section h2 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--soil-brown);
  margin-bottom: 2.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  background: #f3efe0;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-6px);
}

.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid var(--clay-orange);
}

.team-member h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: var(--soil-brown);
}

.team-member p {
  font-size: 0.85rem;
  color: #555;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}




.hero {
  text-align: center;
  margin-bottom: 2rem;
  
}
.hero h1 {
  font-size: 2rem;
  padding: 2rem;
  font-weight: 500;
}
.hero p {
  color: #777;
  font-size: 1.1rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
  margin: 34px;

}

.grid-item {
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.grid-item:hover {
  transform: scale(1.03);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
  margin: 34px;

}

.grid-item {
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.grid-item:hover {
  transform: scale(1.03);
}

.grid-item .caption {
  position: absolute;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  width: 100%;
  color: white;
  padding: 0.5rem;
  font-size: 0.9rem;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.grid-item:hover .caption {
  opacity: 1;
  visibility: visible;
}

.grid-item .caption span {
  font-size: 0.75rem;
  color: #ddd;
}

/* custom grid spans */
.tall {
  grid-row: span 2;
}
.wide {
  grid-column: span 2;
}

.grid-item .caption span {
  font-size: 0.75rem;
  color: #ddd;
}

/* custom grid spans */
.tall {
  grid-row: span 2;
}
.wide {
  grid-column: span 2;
}

/* responsive */
@media screen and (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .wide {
    grid-column: span 2 !important;
  }
  .tall {
    grid-row: span 1 !important;
  }
}

@media screen and (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }
}



/* Core Product Write-up */
.core-products {
  padding: 3rem 2rem;
  text-align: center;
  background-color: #f1efbd;
}

.core-products h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--soil-brown);
}

.core-products p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: auto;
  color: #333;
}

/* 3x2 Product Grid override */
.alt-grid {
  background-color: #c78f3b;
}

/* INDUSTRIES GRID */
.industries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--soft-gray);
}

.industry-card img {
  height: 150px;
  margin-bottom: 0.5rem;
}

/* PRODUCT SCROLL */
.product-strip {
  overflow-x: auto;
  white-space: nowrap;
  padding: 2rem;
  background: #5a3721;
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 3rem 2rem;
  background: #5a3721;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  color: white;
  width: 100%;
}

.card-overlay h3 {
  margin: 0;
  font-size: 1.2rem;
}

.card-overlay a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
}

/* SOLUTIONS LIST */
.solution-columns{
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
}

.solution-columns ul {
  flex: 1 1 300px;
  list-style-type: disc;
  padding-left: 20px;
}

.solution-columns li{
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* Responsive Text Centering */
@media (max-width: 768px) {
  .market-section {
    text-align: center;
  }

  .solution-columns{
    flex-direction: column;
  }
}
@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-section p {
  opacity: 0;
  animation: fadeSlideDown 1s ease forwards;
  animation-delay: 0.3s;
}
/* Animation Keyframes */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation Classes */
.animate-left {
  animation: slideInLeft 1s ease forwards;
}

.animate-right {
  animation: slideInRight 1s ease forwards;
}

.market-img,
.market-text {
  opacity: 0;
}

.market-img.animate-left {
  animation: slideInLeft 1s ease forwards;
}

.market-text.animate-right {
  animation: slideInRight 1s ease forwards;
}
@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline.animate-fade-down {
  animation: fadeDown 1s ease forwards;
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.team-section.animate-fade-up {
  animation: fadeUp 1s ease forwards;
}

.team-member {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.team-member:nth-child(1) {
  animation-delay: 0.2s;
}
.team-member:nth-child(2) {
  animation-delay: 0.3s;
}
.team-member:nth-child(3) {
  animation-delay: 0.4s;
}
.team-member:nth-child(4) {
  animation-delay: 0.5s;
}
.team-member:nth-child(5) {
  animation-delay: 0.6s;
}
.team-member:nth-child(6) {
  animation-delay: 0.7s;
}
.team-member:nth-child(7) {
  animation-delay: 0.8s;
}
.team-member:nth-child(8) {
  animation-delay: 0.9s;
}
/* Fade with Blur Effect */
.team-section {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.6s ease, filter 0.6s ease;
  will-change: opacity, filter, transform;
}

.team-section.visible {
  opacity: 1;
  filter: blur(0px);
}

.team-member {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.team-section.visible .team-member {
  opacity: 1;
  transform: translateY(0);
}

/* Optional stagger effect */
.team-member:nth-child(1) { transition-delay: 0.2s; }
.team-member:nth-child(2) { transition-delay: 0.3s; }
.team-member:nth-child(3) { transition-delay: 0.4s; }
.team-member:nth-child(4) { transition-delay: 0.5s; }
.team-member:nth-child(5) { transition-delay: 0.6s; }
.team-member:nth-child(6) { transition-delay: 0.7s; }
.team-member:nth-child(7) { transition-delay: 0.8s; }
.team-member:nth-child(8) { transition-delay: 0.9s; }
@keyframes fadeInUpFast {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.grid-item {
  opacity: 0;
  transform: translateY(20px);
}

.grid-item.visible {
  animation: fadeInUpFast 0.6s ease forwards;
}
.section-blur-top,
.section-blur-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 2;
  pointer-events: none;
}

.section-blur-top {
  top: 0;
  background: linear-gradient(to bottom, rgba(90, 55, 33, 0.9), rgba(90, 55, 33, 0));
}

.section-blur-bottom {
  bottom: 0;
  background: linear-gradient(to top, rgba(90, 55, 33, 0.9), rgba(90, 55, 33, 0));
}
  .blur-wrapper {
    position: relative;
    z-index: 1;
  }