/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
  .container {
    padding: 12px 12px;
  }

  /* Header */
  header {
    padding: 0.5rem 0;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .nav nav {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .nav a {
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }

  .hero .image img {
    max-width: 100px;
    height: auto;
    width: 130px;
  }

  .logo-and-menu {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  nav.mobile-visible {
    display: flex;
    flex-direction: column;
  }

  /* Hero */
  .hero {
    padding: 0rem 0.5rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
    max-width: 90%;
  }

  .heroRow {
    align-items: start;
    gap: 1rem;
  }

  .buttons {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    width: 50%;
    text-align: center;
    margin: 0.5rem 0;
  }

  /* Features */
  .features {
    padding: 1rem 0;
  }

  .features h3 {
    font-size: 1.2rem;
  }

  .features li {
    font-size: 0.9rem;
    margin: 0.3rem 0;
  }

  .featuresRow {
    align-items: start;
    gap: 1rem;
  }

  .features .image img {
    height: auto;
    width: 200px;
  }

  /* Docs */
  .docs {
    padding: 1rem 0;
  }

  .docs h3 {
    font-size: 1.2rem;
  }

  .docs pre {
    font-size: 0.8rem;
    padding: 0.5rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group select {
    font-size: 0.9rem;
    padding: 0.4rem;
  }

  .form-group input[type="file"] {
    font-size: 0.8rem;
  }

  .response {
    font-size: 0.9rem;
  }

  /* Contact */
  .contact {
    padding: 2rem 0.5rem;
  }

  .contact h3 {
    font-size: 1.2rem;
  }

  .contact p {
    font-size: 0.9rem;
  }

  .contact .link,
  .contact .btn {
    font-size: 0.9rem;
  }

  /* Footer */
  footer {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .nav h1 {
    font-size: 1.2rem;
  }

  .hero h2 {
    font-size: 1.2rem;
  }

  .hero p {
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    width: 80%;
  }

  .features h3,
  .docs h3,
  .contact h3 {
    font-size: 1rem;
  }

  .features .image {
    flex: none;
  }

  .features .image img {
    height: auto;
    width: 160px;
  }

  .docs pre {
    font-size: 0.7rem;
  }

  .form-group label,
  .form-group input,
  .form-group select,
  .response {
    font-size: 0.8rem;
  }
}
