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

body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

.navbar-1 {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(96, 96, 96, 0.05);
}

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

.navbar-brand img {
    max-height: 100px;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 24px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-2 {
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #c3c0c0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    align-items: center;
    display: flex;
    height: 90px;
}

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

.nav-menu_hovered {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 60px;
}

.nav-menu_hovered li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 5px;
}

.nav-menu_hovered li a:hover {
    color: #ffffff;
    background-color: #b859dd;
    box-shadow: 0 4px 12px rgba(184, 89, 221, 0.3);
}

.nav-menu li:hover .navbar-2 {
    visibility: visible;
    opacity: 1;
}

body {
  margin: 0;
  font-family: sans-serif;
}

.hero-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("../images/soil-with-roots.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Optional dark overlay */
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* Align text to the left */
  padding: 0 60px;
}

.hero-text {
  color: #fff;
  text-align: left;
  max-width: 600px;
  padding: 20px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.5rem;
  font-weight: 300;
  margin: 0;
}

/* Responsive (Mobile Optimized) */
@media (max-width: 768px) {
  .hero-overlay {
    padding: 0 30px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.2rem;
  }
}

/* Bacteria Mask (cursor radial reveal) */

.bacteria-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Let mouse pass through */
  mask-image: radial-gradient(circle 80px at var(--x, 50%) var(--y, 50%), black 100%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle 80px at var(--x, 50%) var(--y, 50%), black 100%, transparent 100%);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  transition: mask-image 0.2s, -webkit-mask-image 0.2s;
  z-index: 2;
}

.bacteria-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}


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

.collage-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.collage-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.collage-item {
  width: 300px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.collage-item img {
  width: 100%;
  height: auto;
  display: block;
}

.collage-item p {
  padding: 1rem;
  font-size: 0.95rem;
  color: #333;
}
