@font-face {
  font-family: "Poppins-Bold";
  src: url(../font/Poppins-Bold.ttf);
}

body {
  font-family: "Poppins-Bold", sans-serif;
  margin: 0;
  padding: 0;
  color: #3e4c59;
  background: linear-gradient(135deg, #f8f5e1 0%, #a4c3b2 100%);
  font-size: 18px;
  line-height: 1.7;
}

.navbar {
  background-color: #2c6e49;
  padding: 25px 20px;
  position: sticky;
  top: 0;
  z-index: 9;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-size: 30px;
  color: #ff9f00;
  font-weight: bold;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}

.navbar .nav-links {
  display: flex;
  gap: 35px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  padding: 12px 8px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #ff9f00;
  transition: width 0.3s ease;
}

.navbar a:hover {
  color: #ff9f00;
}

.navbar a:hover::after {
  width: 100%;
}

.header {
  background: url("./img/bg.jpg") no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 130px 20px;
  background-size: cover;
  transition: transform 0.6s ease;
  position: relative;
}

.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.header h1 {
  font-size: 70px;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 6px;
  animation: fadeInUp 1s ease-out;
  position: relative;
  z-index: 1;
}

.header p {
  font-size: 28px;
  margin-bottom: 40px;
  animation: fadeInUp 1.2s ease-out;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cta-button {
  background-color: #1a4b2c;
  color: white;
  padding: 20px 45px;
  font-size: 24px;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.cta-button:hover {
  background-color: #4dc706d3;
  box-shadow: 0 8px 30px rgba(65, 214, 6, 0.788);
}

.section {
  padding: 90px 20px;
  background: #ffffff;
  margin-bottom: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.section h2 {
  font-size: 55px;
  color: #2c6e49;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.section p {
  font-size: 24px;
  color: #333;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.7;
}

.latte {
  width: 150px;
}

.mocha {
  width: 110px;
}

.espresso {
  width: 350px;
}

.flatwhite {
  width: 250px;
}

.pastry {
  width: 200px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
  transition: transform 0.3s ease;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.team-member {
  text-align: center;
  background-color: #fff;
  padding: 40px 20px;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  width: 25%;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.team-member img {
  width: 200px;
  border-radius: 100%;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.team-member .bela {
  width: 220px;
  border-radius: 100%;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.team-member .fajar {
  width: 218px;
  border-radius: 100%;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.team-member img:hover {
  transform: scale(1.1);
}

.team-member h3 {
  font-size: 24px;
  color: #2c6e49;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.team-member p {
  font-size: 20px;
  color: #777;
  line-height: 1.5;
}

.team-member button {
  background-color: #1a4b2c;
  color: white;
  padding: 10px 45px;
  margin-top: 3em;
  font-size: 20px;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.team-member button:hover {
  background-color: #4dc706d3;
  box-shadow: 0 8px 30px rgba(65, 214, 6, 0.788);
}

/* Footer */
.footer {
  background-color: #2c6e49;
  color: white;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.footer p {
  font-size: 22px;
  margin-top: 20px;
  color: #ff9f00;
  text-transform: uppercase;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
