
.about-section {
        margin-top: 40px;
    background: #fdfdfd;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    }
    .about-section h3, .about-section h4 {
      color: #222;
      margin-bottom: 10px;
    }
    .about-section ul {
      padding-left: 20px;
      margin-top: 0;
    }
.content {
      flex: 1;
      padding: 20px;
    }

.shorten-container {
  max-width: 700px;
  margin: 60px auto 40px auto;
  padding: 40px 30px;
  background: linear-gradient(135deg, #d0e7ffcc, #90caf9cc); /* very light blue gradient */
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15); /* subtle soft blue shadow */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1e3a8a; /* dark blue text */
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.shorten-container:hover {
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.25);
  background: linear-gradient(135deg, #c0ddffcc, #81b4f9cc);
}

.shorten-container h1,
.shorten-container h2 {
  margin-bottom: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
  color: #1e3a8a;
}

.shorten-container h1 {
  font-size: 2.8rem;
}

.shorten-container h2 {
  font-size: 1.6rem;
  margin-top: 40px;
}

/* Form */
.shorten-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.input-wrapper {
  position: relative;
  flex: 1 1 260px;
  max-width: 100%;
}

.input-wrapper input[type="url"] {
  width: 100%;
  padding: 16px 50px 16px 20px;
  font-size: 1.1rem;
  border-radius: 18px;
  border: 1.5px solid #90caf9;
  outline: none;
  font-weight: 600;
  color: #1e3a8a;
  background: #e3f2fd; /* very light blue */
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.9);
  transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.input-wrapper input[type="url"]:focus {
  border-color: #2563eb;
  box-shadow:
    inset 0 2px 8px rgba(37, 99, 235, 0.5),
    0 10px 20px rgba(37, 99, 235, 0.3);
  background: #d0e7ff;
}

.input-wrapper .icon-link {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  stroke: #2563eb;
  pointer-events: none;
  filter: drop-shadow(0 0 2px rgba(37, 99, 235, 0.7));
}

/* Button */
.btn {
  background: #90caf9; /* light blue */
  border: none;
  border-radius: 20px;
  color: #1e3a8a; /* dark blue text */
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 36px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease, color 0.3s ease;
  flex: 0 0 auto;
}

.btn:hover {
  background: #64b5f6; /* medium light blue */
  box-shadow: 0 10px 28px rgba(30, 58, 138, 0.4);
  transform: translateY(-2px);
  color: #0d47a1; /* darker blue text on hover */
}

/* Success message */
.success-message {
  background: #a5d6a7cc; /* light green translucent */
  border-radius: 20px;
  padding: 28px 36px;
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.5);
  color: #1b5e20;
  font-weight: 700;
  user-select: text;
  text-align: left;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.4;
}

.success-message p {
  margin: 12px 0;
  color: #388e3c;
}

.success-message a {
  color: #2e7d32;
  font-weight: 700;
  text-decoration: underline;
  word-break: break-word;
  transition: color 0.3s ease;
}

.success-message a:hover {
  color: #1b5e20;
}

.success-message .icon-check {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 4px #22c55e);
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 480px) {
  .shorten-form {
    flex-direction: column;
    gap: 20px;
  }
  .btn {
    width: 100%;
    padding: 16px;
  }
  .input-wrapper {
    flex: 1 1 100%;
  }
}

.visit-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.visit-button:hover {
  background-color: #0056b3;
}

