
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f5fbf7;
  color: #1b1b1b;
  overflow-x: hidden;
}


#splash {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1s ease, visibility 1s ease;
}

#splash img {
  width: 180px;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#splash.hidden {
  opacity: 0;
  visibility: hidden;
}


header {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  z-index: 1000;
}

header h1 {
  color: #06764f;
  font-weight: 700;
  font-size: 1.5rem;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #06764f;
}


section {
  padding: 100px 60px 60px;
  min-height: auto;
}

@media (max-width: 768px) {
  section {
    padding: 90px 25px;
  }
}


.hero {
  background: linear-gradient(135deg, #b5f3d0, #d6f7fa);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0 0 25px 25px;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero h2 {
  font-size: 2.8rem;
  color: #03543f;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  color: #333;
  line-height: 1.6;
}

.hero-buttons {
  margin-top: 25px;
}

.hero button {
  background: #06764f;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  margin: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.hero button:hover {
  background: #04593c;
  transform: translateY(-2px);
}


.about,
.products,
.process,
.contact {
  background: white;
  border-radius: 16px;
  margin: 50px auto;
  padding: 50px 60px;
  max-width: 1000px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

h3 {
  color: #06764f;
  margin-bottom: 20px;
  font-size: 1.9rem;
}

ul {
  list-style: none;
  padding-left: 10px;
}

ul li {
  margin: 10px 0;
  line-height: 1.6;
  font-size: 1rem;
}

.contact a {
  color: #06764f;
  font-weight: 600;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}


footer {
  background: #03543f;
  color: #fff;
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
  margin-top: 60px;
}


@media (max-width: 768px) {
  header {
    padding: 15px 25px;
    flex-direction: column;
  }

  nav a {
    margin: 10px;
  }

  .about,
  .products,
  .process,
  .contact {
    padding: 40px 25px;
  }

  .hero h2 {
    font-size: 2.1rem;
  }
}
/* MATERIAL DETAIL SECTIONS */
/* MATERIAL DETAIL SECTIONS (Balanced + Equal Height) */
.material-section {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin: 50px auto;
  padding: 40px 50px;
  max-width: 1000px;
  transition: all 0.6s ease;
  opacity: 0;
  transform: translateY(40px);
  min-height: 380px; /* uniform box height */
  display: flex;
  align-items: center;
}

.material-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.material-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}

.material-content.reverse {
  flex-direction: row-reverse;
}

/* ----- Image Styling ----- */
.material-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.material-image img {
  width: 85%;
  max-width: 300px;
  height: 220px; /* consistent smaller image */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.material-image img:hover {
  transform: scale(1.05);
}

/* ----- Info Styling ----- */
.material-info {
  flex: 2;
  min-width: 280px;
}

.material-info h3 {
  color: #057d54;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.material-info p {
  color: #333;
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* ----- Hover Animation ----- */
.material-section:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

/* ----- Responsive Design ----- */
@media (max-width: 900px) {
  .material-section {
    min-height: auto;
    padding: 30px 20px;
  }

  .material-content {
    flex-direction: column !important;
    text-align: center;
  }

  .material-image img {
    width: 100%;
    max-width: 350px;
    height: 200px;
  }

  .material-info {
    margin-top: 20px;
  }
}
