body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #f2f2f2;
  color: #333;
}

.container {
  max-width: 600px;
  margin: 100px auto 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 20px;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-container label {
  font-weight: 600;
}

input[type="number"] {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.submit-btn {
  margin-top: 10px;
  padding: 12px;
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #219150;
}

.result {
  text-align: center;
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
  color: #2980b9;
}

.footer {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  background: #2c3e50;
  color: white;
}

.footer a {
  color: #00c8ff;
  text-decoration: none;
}

.custom-navbar .nav-link,
.custom-navbar .navbar-brand {
  color: white;
  transition: color 0.3s ease;
}

.custom-navbar.scrolled .nav-link,
.custom-navbar.scrolled .navbar-brand {
  color: black !important;
}

@media (max-width: 600px) {
  .container {
    margin: 120px 10px 40px 10px;
  }

  h1 {
    font-size: 22px;
  }

  .submit-btn {
    width: 100%;
  }

  input[type="number"] {
    font-size: 14px;
  }
}
.profile-hover {
  position: relative;
}

.profile-tooltip {
  display: none;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
  text-align: center;
  z-index: 1000;
  width: 200px;
}

.profile-tooltip img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.profile-tooltip .social-icons a {
  margin: 0 5px;
  color: #333;
  text-decoration: none;
  font-size: 18px;
}

.profile-tooltip .social-icons a:hover {
  color: #007bff;
}

.profile-hover:hover .profile-tooltip {
  display: block;
}
