/* গুগল ফন্ট */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* সাধারণ স্টাইল */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #222;
  transition: background 0.5s, color 0.5s;
}

header {
  text-align: center;
  padding: 50px 20px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #007bff;
  animation: fadeIn 1.2s ease;
}

h1 {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 10px;
}

h2 {
  color: #333;
  margin-top: 20px;
}

nav {
  text-align: center;
  padding: 15px;
  background: #007bff;
  border-radius: 0 0 15px 15px;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffeb3b;
}

section {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: fadeUp 1s ease;
}

ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  background: #e3f2fd;
  margin: 10px 0;
  padding: 10px;
  border-radius: 10px;
  font-weight: 500;
  transition: transform 0.3s;
}

ul li:hover {
  transform: scale(1.05);
  background: #bbdefb;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, textarea, button {
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

input, textarea {
  background: #f0f0f0;
}

button {
  background: #007bff;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #0056b3;
}

footer {
  text-align: center;
  padding: 15px;
  background: #007bff;
  color: white;
  border-radius: 15px 15px 0 0;
  margin-top: 50px;
}

/* 🌙 ডার্ক মোড */
body.dark {
  background: linear-gradient(135deg, #121212, #1f1f1f);
  color: #ddd;
}

body.dark header {
  background: rgba(40, 40, 40, 0.6);
  border-bottom: 2px solid #2196f3;
}

body.dark nav {
  background: #0d47a1;
}

body.dark section {
  background: rgba(30, 30, 30, 0.6);
}

body.dark button {
  background: #2196f3;
}

/* 🪄 অ্যানিমেশন */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 🌙 টগল বাটন */
#darkModeToggle {
  position: fixed;
  top: 15px;
  right: 20px;
  padding: 10px 15px;
  border-radius: 30px;
  border: none;
  background: #007bff;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

#darkModeToggle:hover {
  background: #0056b3;
}