 :root {
      --bg-light: #0059b3;
      --text-dark: #333;
      --accent: #003366;
    }

    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background-color: var(--bg-light);
      color: var(--text-dark);
    }

    h1, h2, h3 { font-family: 'Poppins', sans-serif; }
    p { font-size: 16px; font-family: 'Poppins', sans-serif; }

    /* Header */
    .new-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: var(--accent);
      padding: 0.75rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      box-sizing: border-box;
      z-index: 999;
    }
    .header-left, .header-right {
      display: flex;
      align-items: center;
    }
    .header-left { gap: 1rem; }
    .header-right {
      gap: 0.5rem;
      margin-left: auto;
      flex-wrap: wrap;
    }
    .site-name a {
      color: white;
      text-decoration: none;
      font-size: 1.2rem;
      font-weight: 600;
    }
    .dark-toggle-switch {
      width: 40px;
      height: 20px;
      background: #ccc;
      border-radius: 50px;
      position: relative;
      cursor: pointer;
      transition: background 0.3s;
    }
    .dark-toggle-switch .circle {
      width: 16px;
      height: 16px;
      background: white;
      border-radius: 50%;
      position: absolute;
      top: 2px;
      left: 3px;
      transition: left 0.3s;
    }
    .dark-toggle-switch.active { background: #444; }
    .dark-toggle-switch.active .circle { left: 22px; }

    .survey-link-box {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
      font-size: 1rem;
      font-weight: 600;
      color: white;
      padding: 0.4rem 0.8rem;
      border-radius: 6px;
      transition: background-color 0.3s ease;
    }

    .color-rect {
      width: 6px;
      height: 30px;
      border-radius: 3px;
    }

    /* Hover colors */
    .survey-link-surveys:hover { background-color: #7F30C4; }
    .survey-link-memos:hover { background-color: #FFA02F; }
    .survey-link-dashboards:hover { background-color: #00C7B2; }
    .survey-link-visualizations:hover { background-color: #00549F; }
    .survey-link-gallery:hover { background-color: #D7A8FF; }

    /* Hero */
    .hero {
      height: 70vh;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      padding: 8rem 2rem 4rem;
      background-image: url('../images/banner1.png');
      background-size: cover;
      background-position: center;
      transition: opacity 1s ease 0.4s;
      opacity: 0;
    }
    .hero.animate-in { opacity: 1; }

    .hero-box {
      background: rgba(255, 255, 255, 0.95);
      padding: 2rem;
      border-radius: 16px;
      margin-left: 10%;
      max-width: 700px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      color: var(--accent);
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease 1s;
    }
    .hero-box.animate-in {
      opacity: 1;
      transform: translateY(0);
    }
    .hero-box h1 {
      font-size: 36px;
      margin-bottom: 0.5rem;
      padding-bottom: 0.1px; /* Adds space between text and underline */
      display: inline-block; /* Makes the border only as wide as the text */
    }
    .hero-box p {
      font-size: 1rem;
    }

    /* Footer */
    footer {
      background: var(--accent);
      padding: 1.5rem;
      text-align: center;
      color: white;
      margin-top: 4rem;
    }
    .social-links {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin-top: 1rem;
    }
    .social-links a {
      color: white;
      font-size: 0.9rem;
      text-decoration: none;
    }
    .social-links a:hover { text-decoration: underline; }

    /* Dark Mode */
    body.dark-mode {
      background-color: var(--accent);
      color: white;
    }
    body.dark-mode .new-header,
    body.dark-mode footer {
      background: var(--accent);
    }
    body.dark-mode .hero {
      background-image: url('nightbanner1.jpg');
    }
    body.dark-mode .hero-box {
      background: #1f1f1f;
      color: white;
    }
