/* Base styling */
body {
  font-family: "Poppins", sans-serif;
  background-color: #f4f4f4;
  color: #333;
  text-align: center;
  margin: 0;
  padding: 0;
  transition: background-color 0.5s, color 0.5s;
}

/* Header */
.header {
  padding: 2rem;
  background: linear-gradient(135deg, #3498db, #9b59b6);
  color: white;
  animation: fadeIn 2s ease-in-out;
}

.highlight {
  color: #ffe66d;
}

/* Navigation */
.nav-bar {
  background: #2c3e50;
  padding: 1rem;
}

.nav-bar a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, transform 0.3s;
}

.nav-bar a:hover {
  color: #f39c12;
  transform: scale(1.1);
}

/* Animated text */
.animate-text .role span {
  display: block;
  animation: slideWords 6s infinite;
  color: #e67e22;
}

@keyframes slideWords {
  0% { transform: translateY(0); }
  33% { transform: translateY(-100%); }
  66% { transform: translateY(-200%); }
  100% { transform: translateY(0); }
}

/* Buttons */
button {
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  background: #3498db;
  color: white;
  font-size: 1rem;
  transition: transform 0.3s, background 0.3s;
}

button:hover {
  transform: scale(1.1);
  background: #2980b9;
}

/* Dark mode */
.dark-mode {
  background-color: #1e1e1e;
  color: #eee;
}

.dark-mode .nav-bar {
  background: #121212;
}

.dark-mode button {
  background: #444;
}

/* Contact section */
.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 1rem 0;
}

.social-link {
  text-decoration: none;
  color: #2c3e50;
  font-size: 1.2rem;
  transition: transform 0.3s, color 0.3s;
}

.social-link:hover {
  transform: translateY(-5px);
  color: #e67e22;
}

/* Profile photo */
.profile-photo {
  width: 200px;
  border-radius: 100%;
  margin-top: 15px;
  animation: bounce 3s infinite;
}

/* Keyframe animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 1rem;
  margin-top: 2rem;
}

/* Login section */
.login-section {
  margin: 2rem auto;
  padding: 1rem;
}

.dk-input {
  display: block;
  margin: 10px auto;
  padding: 10px;
  width: 200px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.dk-button {
  background-color: #9b59b6;
  color: white;
}
