    /* --- 1. SHARED CSS VARIABLES & RESET --- */
    :root {
      --bg-body: #F6F9FA;
      --bg-white: #ffffff;
      --primary-seafoam: #93E9BE;
      --accent-teal: #00BCD4;
      --dark-blue: #0F2C4C;
      --text-grey: #5A6E7F;
      --text-dark: #333333;
      --shadow-soft: 0 2px 15px rgba(0, 0, 0, 0.04);
      --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1);
      --radius-main: 24px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Poppins', sans-serif;
    }

    body {
      background-color: var(--bg-body);
      color: var(--dark-blue);
      line-height: 1.6;
      scroll-behavior: smooth;
    }

    a {
      text-decoration: none;
    }

    ul {
      list-style: none;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* --- 2. HEADER / NAVBAR --- */
    header {
      background-color: var(--bg-white);
      padding: 15px 0;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-wrapper {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--dark-blue);
    }

    .logo span {
      color: var(--accent-teal);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .institute-btn {
      color: var(--dark-blue);
      font-weight: 600;
      font-size: 0.9rem;
      border: 2px solid #E0E0E0;
      background: transparent;
      padding: 8px 20px;
      border-radius: 50px;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .institute-btn:hover {
      border-color: var(--dark-blue);
      color: var(--dark-blue);
    }

    .login-btn {
      background-color: var(--accent-teal);
      color: white;
      padding: 8px 24px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.9rem;
      transition: 0.3s;
      border: 2px solid var(--accent-teal);
    }

    .login-btn:hover {
      opacity: 0.9;
      box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
    }

    /* --- 3. LEGAL PAGE LAYOUT (SIDEBAR + CONTENT) --- */

    .legal-header {
      text-align: center;
      padding: 60px 0 40px;
    }

    .legal-header h1 {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--dark-blue);
    }

    .legal-wrapper {
      display: grid;
      grid-template-columns: 280px 1fr;
      /* Sidebar width | Content width */
      gap: 40px;
      margin-bottom: 80px;
      align-items: start;
    }

    /* Sidebar Styling */
    .legal-sidebar {
      background: var(--bg-white);
      padding: 20px;
      border-radius: 16px;
      box-shadow: var(--shadow-soft);
      position: sticky;
      top: 100px;
      /* Sticks when scrolling */
    }

    .sidebar-btn {
      display: block;
      width: 100%;
      text-align: left;
      padding: 15px 20px;
      margin-bottom: 10px;
      border: none;
      background: transparent;
      border-radius: 12px;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text-grey);
      cursor: pointer;
      transition: 0.3s;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .sidebar-btn:hover {
      background-color: #F0F4F8;
      color: var(--dark-blue);
    }

    .sidebar-btn.active {
      background-color: var(--accent-teal);
      color: white;
      box-shadow: 0 4px 10px rgba(0, 188, 212, 0.25);
    }

    /* Content Area Styling */
    .legal-content-area {
      background: var(--bg-white);
      padding: 50px;
      border-radius: var(--radius-main);
      box-shadow: var(--shadow-soft);
      min-height: 500px;
    }

    .policy-content {
      display: none;
      /* Hidden by default */
      animation: fadeIn 0.4s ease-out;
    }

    .policy-content.active-policy {
      display: block;
      /* Visible when active */
    }

    /* Typography for Policies */
    .policy-content h2 {
      font-size: 1.8rem;
      margin-bottom: 10px;
      color: var(--dark-blue);
      border-bottom: 2px solid #eee;
      padding-bottom: 15px;
    }

    .policy-content .last-updated {
      font-size: 0.9rem;
      color: #888;
      margin-bottom: 30px;
      display: block;
    }

    .policy-content h3 {
      font-size: 1.2rem;
      color: var(--dark-blue);
      margin-top: 30px;
      margin-bottom: 15px;
      font-weight: 600;
    }

    .policy-content h4 {
      font-size: 1rem;
      font-weight: 600;
      margin-top: 20px;
      margin-bottom: 10px;
      color: #444;
    }

    .policy-content p {
      font-size: 0.95rem;
      color: #444;
      margin-bottom: 15px;
      line-height: 1.7;
      text-align: justify;
    }

    .policy-content ul {
      list-style: disc;
      padding-left: 20px;
      margin-bottom: 20px;
    }

    .policy-content li {
      margin-bottom: 8px;
      font-size: 0.95rem;
      color: #444;
    }

    /* Highlight Box */
    .info-box {
      background-color: #E3F2FD;
      border-left: 4px solid #2196F3;
      padding: 15px;
      border-radius: 4px;
      margin: 20px 0;
      font-size: 0.9rem;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* --- 4. FOOTER --- */
    .main-footer {
      background-color: var(--dark-blue);
      color: white;
      padding: 70px 0 30px;
      margin-top: 80px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-brand h2 {
      font-size: 1.8rem;
      font-weight: 800;
      margin-bottom: 15px;
    }

    .footer-brand h2 span {
      color: var(--accent-teal);
    }

    .footer-brand p {
      color: #B0BEC5;
      font-size: 0.9rem;
      max-width: 300px;
      line-height: 1.6;
    }

    .footer-col h4 {
      font-size: 1.1rem;
      margin-bottom: 20px;
      font-weight: 600;
      color: white;
    }

    .footer-links li {
      margin-bottom: 12px;
    }

    .footer-links a {
      color: #B0BEC5;
      font-size: 0.9rem;
      transition: 0.3s;
    }

    .footer-links a:hover {
      color: var(--primary-seafoam);
      padding-left: 5px;
    }

    .footer-bottom-bar {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 25px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .copyright-text {
      color: #78909C;
      font-size: 0.85rem;
    }

    .social-icons {
      display: flex;
      gap: 15px;
    }

    .social-link {
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.05);
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      color: white;
      transition: 0.3s;
    }

    .social-link:hover {
      background: var(--accent-teal);
      transform: translateY(-3px);
      color: var(--dark-blue);
    }

    /* Responsive */
    @media (max-width: 900px) {
      .legal-wrapper {
        grid-template-columns: 1fr;
      }

      .legal-sidebar {
        position: relative;
        top: 0;
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding: 10px;
      }

      .sidebar-btn {
        flex-shrink: 0;
        width: auto;
        margin-bottom: 0;
        white-space: nowrap;
      }
    }

    @media (max-width: 600px) {
      .legal-content-area {
        padding: 25px;
      }

      .nav-actions {
        gap: 8px;
      }

      .institute-btn,
      .login-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
      }
    }
  