* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #000;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.page1 {
  background-image: url("https://images.unsplash.com/photo-1555041469-a586c61ea9bc?q=80&w=1170");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100vh;
}

.navbar {
  width: 100%;
  height: 70px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;

  background: transparent;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.logo-img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

.logo h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.links {
  display: flex;
  gap: 3rem;
}

.links li a {
  font-size: 1.05rem;
  color: #00000085;
  padding: 6px 14px;
  border-radius: 20px;
  transition: 0.2s ease;
}

.links li a:hover {
  color: #000;
  background-color: rgba(100, 149, 237, 0.15);
}

.icons ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.circ {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}

.circ img {
  width: 1.4rem;
}

.circ:hover {
  background-color: cornflowerblue;
  transform: scale(1.1);
}

.profile-img-container {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features {
  margin: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature {
  width: 13rem;
  height: 8rem;
  background-color: #fff;
  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.6rem;

  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s ease;
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(157, 194, 222, 0.4);
  opacity: 0;
  transition: 0.3s ease;
}

.feature:hover::before {
  opacity: 1;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature * {
  position: relative;
  z-index: 1;
}

.feature img {
  width: 3rem;
  transition: transform 0.3s ease;
}

.feature:hover img {
  transform: scale(1.15);
}

.feature h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Hamburger */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #000;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .page1 {
    background-size: contain;
    background-position: top center;
    min-height: 70vh;
  }
  .navbar {
    padding: 0 1rem;
  }

  .features {
    margin: 4rem 1rem;
    gap: 1.5rem;
  }

  .feature {
    width: 100%;
    max-width: 300px;
  }
  .menu-toggle {
    display: flex;
  }

  .links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #fff;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;

    transform: translateY(-120%);
    transition: 0.3s ease;
  }

  .links.active {
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .page1 {
    background-size: contain;
    background-color: #f5f5f5;
  }

  .links {
    gap: 2rem;
  }

  .features {
    gap: 1.8rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .links {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 1000;
    flex-direction: column;
    background: #fff;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;

    transform: translateY(-120%);
    transition: 0.3s ease;
  }

  .links.active {
    transform: translateY(0);
  }
}
