body {
        font-family: Arial, sans-serif;
        background: #f4f6f9;
        text-align: center;
        margin: 0;
        padding: 0;
      }

      /* 🔷 NAVBAR */
      .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;

        display: flex;
        justify-content: space-between;
        align-items: center;

        padding: 12px 30px;

        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);

        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      }

      .logo {
        font-size: 20px;
        font-weight: bold;
        color: #1e293b;
      }

      .nav-links a {
        margin: 0 12px;
        text-decoration: none;
        color: #333;
        font-weight: 500;
      }

      .nav-links a:hover {
        color: #2563eb;
      }

      /* 🔷 HERO */
      .hero {
        background: url("header.png") center/contain no-repeat;
        background-color: #f4f6f9;
        height: 260px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        font-size: 24px;
        font-weight: bold;
      }

      /* 🔷 CONTAINER */
      .container {
        background: white;
        width: 350px;
        margin: 30px auto;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
      }

      input {
        width: 90%;
        padding: 10px;
        margin: 8px 0;
        border-radius: 6px;
        border: 1px solid #ccc;
      }

      button {
        padding: 12px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        margin-top: 10px;
      }
      .toggle-btn {
        background: #e2e8f0;
        border: none;
        padding: 6px 12px;
        border-radius: 20px;
        cursor: pointer;
        width: auto;
      }

      .toggle-btn:hover {
        background: #cbd5e1;
      }
      .panic {
        background: #ff4d4d;
        color: white;
        width: 100%;
      }

      .panic:hover {
        background: #e60000;
      }

      .voice {
        background: #007bff;
        color: white;
        width: 100%;
      }

      .voice:hover {
        background: #0056b3;
      }

      #output {
        margin-top: 15px;
        font-weight: bold;
        color: #222;
      }

      /* 🔔 POPUP */
      #popup {
        display: none;
        position: fixed;
        top: 20px;
        right: 20px;
        background: #28a745;
        color: white;
        padding: 12px;
        border-radius: 6px;
      }

      /* 🌙 DARK MODE */
      .dark {
        background: #1e1e1e;
        color: white;
      }

      .dark .container {
        background: #2c2c2c;
      }

      .dark input {
        background: #333;
        color: white;
        border: 1px solid #555;
      }

      .dark #output {
        color: white;
      }
