@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top left, #1f1c2c, #928dab);
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  flex-direction: column;
}

.profile-container {
  width: 280px;
  height: 280px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(240, 219, 79, 0.7);
  animation: float 3s ease-in-out infinite;
}

.profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

h1 {
  margin-top: 20px;
  font-size: 2.5rem;
  text-align: center;
}

.tagline {
  font-size: 1.2rem;
  color: #ccc;
  text-align: center;
}

.buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.btn {
  text-decoration: none;
  color: #fff;
  background: #ff6f61;
  padding: 10px 20px;
  border-radius: 30px;
  margin: 0 10px;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(255, 111, 97, 0.4);
}

.btn:hover {
  background: #e94e3b;
  box-shadow: 0 4px 30px rgba(255, 111, 97, 0.6);
}

.section {
  padding: 60px 20px;
  text-align: center;
  background: #2b2e4a;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.project-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  width: 250px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  transition: transform 0.4s;
}

.project-card:hover {
  transform: scale(1.05) rotateY(5deg);
}

.project-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #ff6f61;
  font-weight: bold;
  transition: color 0.3s;
}

.project-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #ff6f61;
}

.footer {
  background: #1f1c2c;
  padding: 30px 20px;
  text-align: center;
  color: #fff;
}

.footer h3 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

footer {
  text-align: center;
  padding: 20px;
  background: #0e1a26;
  color: white;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.icon {
  font-size: 1.8rem;
  color: #ff6f61;
  transition: transform 0.3s, color 0.3s;
}

.icon:hover {
  color: #ffffff;
  transform: scale(1.2);
  text-shadow: 0 0 10px #ff6f61;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: auto;
}

form input,
form textarea {
  margin-bottom: 15px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #1e1e2f;
  color: white;
  resize: none;
}

form button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #ff6f61;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #e94e3b;
}
