/* body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #1E293B, #0F172A, #334155);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  margin: 0;
  padding: 20px;
  color: white;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  text-shadow: 0px 4px 10px rgba(0,0,0,0.4);
}

.row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tool-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.4);
  flex: 1;
  min-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.5);
}

.tool-card h2 {
  margin-bottom: 10px;
}

textarea {
  width: 100%;
  height: 70px;
  resize: none;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
}

input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  outline: none;
  margin-bottom: 10px;
}

button {
  background: linear-gradient(90deg, #ff914d, #cc7722);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 45px;
  padding: 0 15px;
  width: 100%;
}

button:hover {
  background: linear-gradient(90deg, #cc7722, #ff914d);
  transform: scale(1.05);
  box-shadow: 0px 4px 15px rgba(204, 119, 34, 0.5);
}

p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #f1f5f9;
}
 */















/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ===== Heading ===== */
h1 {
  grid-column: span 2;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* ===== Section Box ===== */
section {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

section:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

/* ===== Section Title ===== */
section h2 {
  font-size: 1.2rem;
}

/* ===== Row for Textarea + Button ===== */
.input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

/* ===== Textarea & Input ===== */
textarea, input[type="text"] {
  flex: 1;
  min-height: 60px;
  padding: 12px;
  border: none;
  outline: none;
  border-radius: 8px;
  resize: vertical;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: background 0.3s ease;
}

textarea:focus, input[type="text"]:focus {
  background: rgba(255,255,255,0.15);
}

/* ===== Buttons ===== */
button {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

button:hover {
  background: linear-gradient(135deg, #fb923c, #f97316);
  transform: scale(1.05);
}

button:active {
  transform: scale(0.97);
}

/* ===== Output Box ===== */
p {
  background: rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #f1f5f9;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  body {
    grid-template-columns: 1fr;
  }
  h1 {
    grid-column: span 1;
  }
  .input-row {
    flex-direction: column;
  }
}
