/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}
h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2em;
  color: #0077cc;
}
p {
  text-align: center;
  max-width: 700px;
  margin: 10px auto;
}
img.photo {
  object-fit: cover;
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

/* Container */
.container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
  padding: 80px 20px;
}

.navbar {
  text-align: center;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;

  & > a {
    padding: 15px 15px;
    text-decoration: none;
    color: gray;
    &:hover {
      color: black;
    }
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e')
      center/cover;
  color: white;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  animation: slideDown 1s ease-out forwards;
}
.hero p {
  font-size: 20px;
  margin: 10px 0 30px;
  opacity: 0;
  animation: fadeIn 2s forwards 0.5s;
}
.btn {
  background: #0077cc;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #005fa3;
}

/* Sections */
.section {
  padding: 80px 20px;
}
.bg-light {
  background: #f9f9f9;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 10px;
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.email {
  text-decoration: none;
  color: black;
  &:hover {
    text-decoration: underline;
  }
}
.social {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Footer */
footer {
  background: #0077cc;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
}

#scroll-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 5px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 20px;
  background: #1b97ef;
  color: white;
  height: 30px;
  width: 30px;
  cursor: pointer;
}

/* Animations */
@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.3s;
}
@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
}
