/* LOADER */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 10%;
  z-index: 1000;
  animation: fadeOut 2s ease-out forwards;
  animation-delay: 3s;
}
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.loader-title {
  font-size: 7rem;
  font-weight: bold;
  letter-spacing: 4px;
  animation: slideIn 1s ease forwards;
  color: #fff;
}
.loader-sub {
  margin-top: 1rem;
  font-size: 1.5rem;
  color: #888;
  animation: slideIn 1.5s ease forwards;
}

/* HERO SECTION */
#hero {
  height: 66.6vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #fff;
}
.hero-title {
  font-size: 5rem;
  letter-spacing: 3px;
  font-weight: bold;
}
.hero-sub {
  font-size: 1.8rem;
  color: #555;
}
.scroll-down-arrow {
  font-size: 2.5rem;
  color: #888;
  margin-top: 40px;
  animation: bounce 2s infinite;
  cursor: pointer;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* IMAGE GRID */
#image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px;
  background: #f5f5f5;
}
.grid-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 15px;
  border: 2px solid white;
  filter: brightness(0.6);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.grid-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

/* TEAM SECTION */
#team {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.team-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.team-member {
  position: relative;
  font-size: 1.3rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: scale(1.05);
}

.team-photo {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.team-member:hover .team-photo {
  opacity: 1;
}
