* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
h2, p {
  padding-top: 6px;
  padding-bottom: 6px;
  padding-right: 2px;
}
body {
    background: #f9f0f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Full Width Navbar */
.navbar {
  background: linear-gradient(90deg, #3498db, #9b59b6);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
}

.logo i {
  margin-right: 10px;
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 5px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
}

/* Main Content */
.main-content {
  width: 80%;
  margin: 30px auto;
  flex: 1;
}

@media screen and (max-width: 800px) {
    .main-content {
        width: 95%;
    }
}

/* Full Width Footer */
footer {
  background: linear-gradient(90deg, #3498db, #9b59b6);
  color: white;
  padding: 30px 5%;
  width: 100%;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 8px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: white;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-icons {
  display: flex;
  margin-top: 15px;
}

.social-icons a {
  display: inline-block;
  margin-right: 15px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 20px auto 0;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    width: 100%;
    height: calc(100vh - 70px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .hamburger {
    display: block;
  }

  .footer-section {
    flex: 100%;
  }
}

/* Existing styles from your code */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

h1 {
  text-align: center;
  margin-bottom: 25px;
  color: #2c3e50;
  font-size: 32px;
  position: relative;
  padding-bottom: 10px;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #9b59b6);
  border-radius: 2px;
}

h3 {
  color: #000000;
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
}

h3 i {
  margin-right: 10px;
}

textarea, input[type="text"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

textarea:focus, input[type="text"]:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.2);
}


button {
  padding: 15px 25px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  width: 100%;
  margin: 10px 0;
  box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}

button:active {
  transform: translateY(1px);
}

.output {
  border: 2px dashed #cbd5e0;
  padding: 20px;
  background: #f9fafc;
  margin-top: 15px;
  border-radius: 10px;
  word-break: break-word;
  min-height: 60px;
  font-size: 18px;
  transition: all 0.3s;
}

.output:hover {
  border-color: #3498db;
  transform: translateY(-2px);
}

.section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: #f8fbff;
    border-left: 4px solid var(--color-accent);
}

.container {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}


.status {
  text-align: center;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  display: none;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.success {
  background: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
}
.container {
  padding: 15px;
  margin: 15px;
  margin-top: 15px;
  padding-top: 15px;
  background-color: white;
}
.container {
  border-radius: 25px;

}

.error {
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
}

.code {
  font-family: 'Courier New', monospace;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #2c3e50;
  text-align: center;
  padding: 15px;
}

.instructions {
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 16px;
  color: #34495e;
  line-height: 1.5;
}

.instructions h4 {
  margin-bottom: 10px;
  color: #3498db;

}

.instructions ul, ol {
  padding-left: 20px;
}

.instructions li {
  margin-bottom: 8px;
}

.copy-btn {
  background: linear-gradient(90deg, #9b59b6, #8e44ad);
  margin-top: 10px;
}

@media (max-width: 600px) {
  .container {
    padding: 20px;
  }

  .section {
    padding: 20px;
  }
}
