:root {
    --primary-color: #1a73e8; /* blue default */
    --background-light: #f4f6f8;
    --background-dark: #121212;
    --text-light: #333;
    --text-dark: #eee;
  }

  [data-theme="dark"] {
    background-color: var(--background-dark);
    color: var(--text-dark);
  }

  body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    transition: background 0.3s, color 0.3s;
  }

  header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 50px 20px 20px;
  }

  nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
  }

  nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, color 0.3s;
  }

  nav a:hover {
    color: #ddd;
    transform: scale(1.1);
  }

  .section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 30px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  [data-theme="dark"] .section {
    background: #1f1f1f;
  }

  .section h2 {
    font-size: 32px;
    color: var(--primary-color);
  }

  footer {
    text-align: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
  }

  .controls {
    text-align: center;
    margin: 20px 0;
  }

  /* Toggle Switch with Icons */
  .toggle-wrapper {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 34px;
  }

  .toggle-wrapper input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
  }

  .slider:before {
    position: absolute;
    content: "\f185";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    color: #fbc02d;
    text-align: center;
    line-height: 26px;
    font-size: 14px;
    transition: .4s;
    border-radius: 50%;
  }

  input:checked + .slider {
    background-color: #2196F3;
  }

  input:checked + .slider:before {
    transform: translateX(36px);
    content: "\f186";
    color: #90caf9;
  }

  .color-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
  }

  .color-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
  }

  .color-circle:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }
  header img {
    max-width: 150px; /* Limit image size */
    width: 100%;
    height: auto;
    border-radius: 50%; /* Make it circular */
    border: 5px solid white; /* Add a subtle border around the image */
    margin-bottom: 20px; /* Space between the image and text */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Add a subtle shadow */
    transition: transform 0.3s ease-in-out; /* Add transition for hover effect */
  }
  
  header img:hover {
    transform: scale(1.05); /* Slightly enlarge the image on hover */
  }