* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    margin: 0;
    padding: 0;
  }
  
  .theme-toggle {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-top: 2rem;
  }
  
  
  .theme-toggle .switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e0e0e0;
    border-radius: 30px;
    width: 42px;
    height: 22px;
    padding: 2px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
  }
  
  .theme-toggle .sun,
  .theme-toggle .moon {
    font-size: 10px;
    width: 14px;
    text-align: center;
    z-index: 2;
    pointer-events: none;
  }
  
  .theme-toggle .slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #007cf0;
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: 1;
    pointer-events: none;
  }
  
  .theme-toggle input[type="checkbox"] {
    display: none;
  }
  
  .theme-toggle input[type="checkbox"]:checked + .switch .slider {
    transform: translateX(20px);
    background: #00dfd8;
  }
  
  .theme-toggle input[type="checkbox"]:checked + .switch {
    background: #333;
  }
  

  nav.navbar {
      background: #20232a;
      color: white;
      padding: 15px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
      position: sticky;
      top: 0;
      z-index: 999;
    }
    
      nav .navbar-brand {
      font-weight: 700;
      font-size: 1.5rem;
      letter-spacing: 1.2px;
      }

      body {
        font-family: 'Segoe UI', sans-serif;
        background-color: #f8f9fa;
        height: auto;
        width: 100vw;
        overflow-x: hidden;
      }
      .hero {
        background: linear-gradient(to right, #1a73e8, #00acc1);
        color: white;
        padding: 100px 0;
      }
      .section-title {
        font-weight: 600;
        margin-bottom: 30px;
      }
      .feature-icon {
        font-size: 3rem;
        color: #00acc1;
      }
      .how-step {
        border-left: 4px solid #00acc1;
        background-color: #ffffff;
        padding: 20px;
        border-radius: 10px;
      }
      .cta {
        background: #00acc1;
        color: white;
        padding: 60px 0;
      }
    /* Footer */
    footer.footer {
      background: #20232a;
      color: white;
      padding: 40px 20px;
      text-align: center;
      box-shadow: 0 -4px 12px rgb(0 0 0 / 0.1);
    }
    footer .newsletter-form {
      max-width: 400px;
      margin: 0 auto 10px;
      display: flex;
      gap: 8px;
    }
    footer .newsletter-form input[type="email"] {
      flex-grow: 1;
      padding: 12px 15px;
      border: none;
      border-radius: 24px;
      font-size: 1rem;
      outline-offset: 2px;
      outline-color: #0066ff;
    }
    footer .newsletter-form button {
      background: #ff4500;
      border: none;
      border-radius: 24px;
      padding: 12px 20px;
      color: white;
      font-weight: 700;
      font-size: 1rem;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
    footer .newsletter-form button:hover {
      background: #cc3700;
    }
    footer .newsletter-message {
      font-style: italic;
      margin-top: 10px;
      min-height: 1.2em;
    }
  
    footer h2 {
      margin-bottom: 10px;
    }
  
    .rights {
      opacity: 0.8;
      margin-top: 20px;
    }
    
      
      /* ========== Dark Theme ========== */
body.dark {
    background-color: #121212;
    color: #e0e0e0;
  }
  
  body.dark .hero {
    background: linear-gradient(to right, #1a73e8, #005a78);
    color: white;
  }
  
  body.dark nav.navbar {
    background: #1e1e1e;
    color: white;
  }
  
  body.dark .feature-icon {
    color: #00bcd4;
  }
  
  body.dark #how {
    background-color: #1a1a1a;
  }
  
  body.dark .how-step {
    background-color: #2b2b2b;
    border-left-color: #00bcd4;
    color: #e0e0e0;
  }
  
  body.dark .cta {
    background-color: #003c4d;
    color: white;
  }
  
  body.dark .btn-outline-light {
    border-color: #00acc1;
    color: #00acc1;
  }
  
  body.dark .btn-outline-light:hover {
    background-color: #00acc1;
    color: #fff;
  }
  
  body.dark footer.footer {
    background: #1e1e1e;
    color: white;
  }
  
  body.dark footer .newsletter-form input[type="email"] {
    background-color: #2a2a2a;
    color: #eee;
  }
  
  body.dark footer .newsletter-form button {
    background-color: #00acc1;
  }
  
  body.dark footer .newsletter-form button:hover {
    background-color: #007c91;
  }
  
    @media screen and (max-width : 991px) {
        
    }

    @media screen and (max-width : 590px) {
  
      footer .newsletter-form {
      max-width: 350px;
      margin: 0 auto 8px;
    }
  
    footer .newsletter-form input[type="email"] {
      padding: 10px 13px;
      font-size: 0.9rem;
    }
  
    footer .newsletter-form button {
      padding: 10px 18px;
      font-size: 0.9rem;
    }
  
    footer h2 {
      font-size: 20px;
    }
  
    }
  
    @media screen and (max-width : 390px) {
  
      nav .navbar-brand {
        font-size: 1.3rem;
    }
  
      footer .newsletter-form {
      max-width: 300px;
      margin: 0 auto 5px;
    }
  
    footer .newsletter-form input[type="email"] {
      padding: 8px 10px;
      font-size: 0.8rem;
    }
  
    footer .newsletter-form button {
      padding: 8px 15px;
      font-size: 0.8rem;
    }
  
    footer h2 {
      font-size: 18px;
    }
  
    .rights {
      font-size: 14px;
    }
  
    }
  
    @media screen and (max-width : 290px) {
  
      footer .newsletter-form {
      max-width: 300px;
      margin: 0 auto 3px;
    }
  
    footer .newsletter-form input[type="email"] {
      padding: 6px 8px;
      font-size: 0.7rem;
    }
  
    footer .newsletter-form button {
      padding: 6px 13px;
      font-size: 0.7rem;
    }
  
    footer h2 {
      font-size: 15px;
    }
  
    .rights {
      font-size: 14px;
    }
  
    }