  :root {
      --primary-color: #0d6efd;
      --secondary-color: #6c757d;
      --success-color: #198754;
      --info-color: #0dcaf0;
      --warning-color: #ffc107;
      --danger-color: #dc3545;
      --light-color: #f8f9fa;
      --dark-color: #212529;
      --purple-color: #6f42c1;
      --pink-color: #e83e8c;
      --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
      --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
      --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
      --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
      --border-radius: 0.75rem;
      --border-radius-lg: 1rem;
  }

  body {
      min-height: 100vh;
      line-height: 1.7;
  }

  /* Main Privacy Section */
  .privacy-section {
      padding: 4rem 0 6rem;
      position: relative;
  }

  .privacy-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 100%;
      background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
          radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
          radial-gradient(circle at 40% 80%, rgba(120, 199, 255, 0.1) 0%, transparent 50%);
      pointer-events: none;
  }

  /* Enhanced Container */
  .privacy-container {
      max-width: 1000px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
  }

  /* Modern Card Design */
  .privacy-card {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: var(--border-radius-lg);
      box-shadow: var(--shadow-lg);
      padding: 0;
      overflow: hidden;
      transition: all 0.3s ease;
  }

  .privacy-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
  }

  /* Header Section */
  .privacy-header {
      background: var(--gradient-secondary);
      color: white;
      padding: 3rem 2rem 2rem;
      text-align: center;
      position: relative;
      overflow: hidden;
  }

  .privacy-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
      opacity: 0.3;
  }

  .privacy-header h1 {
      font-size: 2.5rem;
      font-weight: 700;
      margin: 0;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      position: relative;
      z-index: 1;
  }

  .privacy-icon {
      font-size: 4rem;
      margin-bottom: 1rem;
      opacity: 0.9;
      position: relative;
      z-index: 1;
  }

  .privacy-subtitle {
      font-size: 1.1rem;
      margin-top: 1rem;
      opacity: 0.9;
      position: relative;
      z-index: 1;
  }

  /* Content Body */
  .privacy-body {
      padding: 2.5rem;
  }

  /* Section Cards */
  .section-card {
      background: #fff;
      border-radius: var(--border-radius);
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      border-left: 4px solid var(--primary-color);
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
  }

  .section-card:hover {
      transform: translateX(5px);
      box-shadow: var(--shadow);
      border-left-color: var(--pink-color);
  }

  .section-card.info {
      border-left-color: var(--info-color);
      background: linear-gradient(135deg, rgba(13, 202, 240, 0.02), rgba(13, 202, 240, 0.05));
  }

  .section-card.warning {
      border-left-color: var(--warning-color);
      background: linear-gradient(135deg, rgba(255, 193, 7, 0.02), rgba(255, 193, 7, 0.05));
  }

  .section-card.success {
      border-left-color: var(--success-color);
      background: linear-gradient(135deg, rgba(25, 135, 84, 0.02), rgba(25, 135, 84, 0.05));
  }

  .section-card.danger {
      border-left-color: var(--danger-color);
      background: linear-gradient(135deg, rgba(220, 53, 69, 0.02), rgba(220, 53, 69, 0.05));
  }

  /* Typography Enhancements */
  .privacy-body h2 {
      color: var(--primary-color);
      font-size: 1.75rem;
      font-weight: 600;
      margin: 0 0 1rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
  }

  .privacy-body h2 i {
      color: var(--pink-color);
      font-size: 1.5rem;
  }

  .privacy-body h3 {
      color: var(--purple-color);
      font-size: 1.3rem;
      font-weight: 500;
      margin: 1.5rem 0 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid rgba(111, 66, 193, 0.1);
      display: flex;
      align-items: center;
      gap: 0.5rem;
  }

  .privacy-body h3 i {
      color: var(--info-color);
      font-size: 1.1rem;
  }

  .privacy-body p {
      color: var(--dark-color);
      font-size: 1rem;
      margin-bottom: 1.5rem;
      text-align: justify;
  }

  /* Enhanced Lists */
  .privacy-list {
      list-style: none;
      padding: 0;
      margin: 1.5rem 0;
  }

  .privacy-list li {
      position: relative;
      padding: 0.75rem 0 0.75rem 2.5rem;
      margin-bottom: 0.5rem;
      background: rgba(255, 255, 255, 0.5);
      border-radius: var(--border-radius);
      border: 1px solid rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
  }

  .privacy-list li:hover {
      background: rgba(255, 255, 255, 0.8);
      transform: translateX(5px);
      box-shadow: var(--shadow-sm);
  }

  .privacy-list li::before {
      content: '\f00c';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      left: 1rem;
      top: 0.75rem;
      color: var(--success-color);
      font-size: 0.9rem;
  }

  .privacy-list.info li::before {
      content: '\f05a';
      color: var(--info-color);
  }

  .privacy-list.warning li::before {
      content: '\f071';
      color: var(--warning-color);
  }

  /* Contact Information Card */
  .contact-card {
      background: var(--gradient-primary);
      color: white;
      padding: 2rem;
      border-radius: var(--border-radius-lg);
      margin: 2rem 0;
      text-align: center;
      position: relative;
      overflow: hidden;
  }

  .contact-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  }

  .contact-card h2 {
      color: white !important;
      margin-bottom: 1.5rem;
      position: relative;
      z-index: 1;
  }

  .contact-info {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin-top: 1.5rem;
      position: relative;
      z-index: 1;
  }

  .contact-item {
      background: rgba(255, 255, 255, 0.1);
      padding: 1rem;
      border-radius: var(--border-radius);
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
  }

  .contact-item:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: translateY(-3px);
  }

  .contact-item i {
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
      display: block;
  }

  /* Last Updated Badge */
  .last-updated {
      background: var(--gradient-secondary);
      color: white;
      padding: 1rem 1.5rem;
      border-radius: var(--border-radius);
      font-style: italic;
      text-align: center;
      margin-top: 2rem;
      position: relative;
      overflow: hidden;
  }

  .last-updated::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s;
  }

  .last-updated:hover::before {
      left: 100%;
  }

  .last-updated i {
      margin-right: 0.5rem;
  }

  /* Responsive Design - Enhanced */
  
  /* Disable hover effects on touch devices */
  @media (hover: none) {
      .privacy-card:hover {
          transform: none;
          box-shadow: var(--shadow-lg);
      }

      .section-card:hover {
          transform: none;
          box-shadow: var(--shadow-sm);
      }

      .privacy-list li:hover {
          transform: none;
          background: rgba(255, 255, 255, 0.5);
      }

      .contact-item:hover {
          transform: none;
          background: rgba(255, 255, 255, 0.1);
      }

      .btn-primary:hover {
          transform: none;
      }

      .scroll-to-top:hover {
          transform: none;
      }
  }

  /* Tablet breakpoint */
  @media (max-width: 992px) {
      .privacy-section {
          padding: 3rem 0 5rem;
      }

      .privacy-container {
          max-width: 900px;
      }

      .privacy-header {
          padding: 2.5rem 2rem 2rem;
      }

      .privacy-header h1 {
          font-size: 2.25rem;
      }

      .privacy-icon {
          font-size: 3.5rem;
      }

      .privacy-body {
          padding: 2rem;
      }

      .section-card {
          padding: 1.25rem;
      }

      .support-section {
          padding: 2.5rem 3rem;
      }
  }

  /* Mobile breakpoint */
  @media (max-width: 768px) {
      .privacy-section {
          padding: 2rem 0 4rem;
      }

      .privacy-header {
          padding: 2rem 1.5rem 1.5rem;
      }

      .privacy-header h1 {
          font-size: 2rem;
      }

      .privacy-icon {
          font-size: 3rem;
          margin-bottom: 0.875rem;
      }

      .privacy-subtitle {
          font-size: 1rem;
          margin-top: 0.875rem;
      }

      .privacy-body {
          padding: 1.5rem;
      }

      .section-card {
          padding: 1.125rem;
          margin-bottom: 1rem;
      }

      .privacy-body h2 {
          font-size: 1.5rem;
          flex-direction: column;
          text-align: center;
          gap: 0.5rem;
      }

      .privacy-body h2 i {
          font-size: 1.25rem;
      }

      .privacy-body h3 {
          font-size: 1.2rem;
          flex-direction: column;
          text-align: center;
          gap: 0.3rem;
      }

      .privacy-body h3 i {
          font-size: 1rem;
      }

      .privacy-body p {
          font-size: 0.95rem;
          text-align: left;
      }

      .privacy-list li {
          padding: 0.625rem 0 0.625rem 2.25rem;
          font-size: 0.95rem;
      }

      .privacy-list li::before {
          top: 0.625rem;
      }

      .contact-card {
          padding: 1.5rem 1rem;
      }

      .contact-info {
          grid-template-columns: 1fr;
          gap: 0.875rem;
      }

      .contact-item {
          padding: 0.875rem;
      }

      .contact-item i {
          font-size: 1.25rem;
      }

      .last-updated {
          padding: 0.875rem 1.25rem;
          font-size: 0.9rem;
      }

      .section-card:hover {
          transform: none;
      }

      .privacy-list li:hover {
          transform: none;
      }

      .privacy-card:hover {
          transform: none;
      }

      .scroll-to-top {
          bottom: 20px;
          right: 20px;
          width: 45px;
          height: 45px;
          font-size: 1rem;
      }
  }

  /* Small mobile breakpoint */
  @media (max-width: 576px) {
      .privacy-section {
          padding: 1.5rem 0 3rem;
      }

      .privacy-header {
          padding: 1.5rem 1.25rem 1.25rem;
      }

      .privacy-header h1 {
          font-size: 1.75rem;
      }

      .privacy-icon {
          font-size: 2.5rem;
          margin-bottom: 0.75rem;
      }

      .privacy-subtitle {
          font-size: 0.9rem;
          margin-top: 0.75rem;
      }

      .privacy-body {
          padding: 1.25rem;
      }

      .section-card {
          padding: 1rem;
          margin-bottom: 0.875rem;
      }

      .privacy-body h2 {
          font-size: 1.35rem;
      }

      .privacy-body h3 {
          font-size: 1.1rem;
      }

      .privacy-body p {
          font-size: 0.9rem;
          line-height: 1.6;
      }

      .privacy-list li {
          padding: 0.5rem 0 0.5rem 2rem;
          font-size: 0.875rem;
      }

      .privacy-list li::before {
          top: 0.5rem;
          font-size: 0.8rem;
      }

      .contact-card {
          padding: 1.25rem 0.875rem;
          margin: 1.5rem 0;
      }

      .contact-card h2 {
          font-size: 1.25rem;
      }

      .contact-item {
          padding: 0.75rem;
      }

      .contact-item i {
          font-size: 1.125rem;
      }

      .last-updated {
          padding: 0.75rem 1rem;
          font-size: 0.85rem;
      }

      .support-section {
          padding: 1.5rem 1.25rem;
          margin: 2rem 0;
      }

      .support-section h4 {
          font-size: 1.25rem;
          margin-bottom: 0.875rem;
      }

      .support-section p {
          font-size: 0.9rem;
          margin-bottom: 1.25rem;
      }

      .btn-primary {
          padding: 0.75rem 1.5rem;
          font-size: 0.95rem;
          width: 100%;
      }
  }

  /* Very small mobile breakpoint */
  @media (max-width: 400px) {
      .privacy-section {
          padding: 1.25rem 0 2.5rem;
      }

      .privacy-header {
          padding: 1.25rem 1rem 1rem;
      }

      .privacy-header h1 {
          font-size: 1.5rem;
      }

      .privacy-icon {
          font-size: 2rem;
          margin-bottom: 0.625rem;
      }

      .privacy-subtitle {
          font-size: 0.85rem;
      }

      .privacy-body {
          padding: 1rem;
      }

      .section-card {
          padding: 0.875rem;
          margin-bottom: 0.75rem;
      }

      .privacy-body h2 {
          font-size: 1.2rem;
      }

      .privacy-body h3 {
          font-size: 1rem;
      }

      .privacy-body p {
          font-size: 0.875rem;
      }

      .privacy-list li {
          padding: 0.5rem 0 0.5rem 1.75rem;
          font-size: 0.85rem;
      }

      .privacy-list li::before {
          left: 0.75rem;
      }

      .contact-card {
          padding: 1rem 0.75rem;
      }

      .contact-item {
          padding: 0.625rem;
      }

      .last-updated {
          padding: 0.625rem 0.875rem;
          font-size: 0.8rem;
      }

      .support-section {
          padding: 1.25rem 1rem;
          margin: 1.75rem 0;
      }

      .support-section h4 {
          font-size: 1.15rem;
      }

      .support-section p {
          font-size: 0.875rem;
      }

      .btn-primary {
          padding: 0.625rem 1.25rem;
          font-size: 0.9rem;
      }

      .scroll-to-top {
          bottom: 15px;
          right: 15px;
          width: 40px;
          height: 40px;
          font-size: 0.9rem;
      }
  }

  /* Scroll to Top Button */
  .scroll-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--gradient-primary);
      color: white;
      border: none;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      box-shadow: var(--shadow);
  }

  .scroll-to-top:hover {
      transform: translateY(-3px) scale(1.1);
      box-shadow: var(--shadow-lg);
  }

  .scroll-to-top.visible {
      opacity: 1;
      visibility: visible;
  }

  @media (max-width: 768px) {
      .scroll-to-top {
          bottom: 20px;
          right: 20px;
          width: 45px;
          height: 45px;
          font-size: 1rem;
      }
  }

  /* Contact Support Section - Matching about.php and role.php */
  .support-section {
      background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
      border-radius: var(--border-radius-lg);
      padding: 3rem 5rem;
      margin: 3rem 0;
      text-align: center;
      box-shadow: var(--shadow);
      border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .support-section h4 {
      color: #2c3e50;
      font-weight: 700;
      margin-bottom: 1rem;
      font-size: 1.5rem;
  }

  .support-section p {
      color: #5a6c7d;
      margin-bottom: 1.5rem;
      font-size: 1.1rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
  }

  .btn-primary {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border: none;
      padding: 0.875rem 2.5rem;
      font-weight: 600;
      border-radius: 50px;
      box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
      transition: all 0.3s ease;
      font-size: 1.1rem;
      letter-spacing: 0.5px;
      color: white;
  }

  .btn-primary:hover {
      transform: translateY(-3px) scale(1.03);
      box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }

  .btn-primary:active {
      transform: translateY(1px);
  }

  /* Dark mode support */
  /* Add this global rule to the dark mode section in privacy.css */
  body.dark-mode {
      background-color: #0d1117 !important;
      background-image: none !important;
      background: #0d1117 !important;
      color: #f8f9fa !important;
      /* Ensures global text is readable */
  }

  /* Also ensure your containers follow this pattern */
  body.dark-mode .privacy-section {
      background-color: #0d1117 !important;
      background-image: none !important;
      background: #0d1117 !important;
      /* Prevents white flashes/borders */
  }

  /* Cover the footer under dark mode theme */
  body.dark-mode footer {
      background-color: #161b22 !important;
      background: #161b22 !important;
      background-image: none !important;
      border-top: 1px solid #30363d !important;
      color: #f0f6fc !important;
  }

  body.dark-mode footer h5,
  body.dark-mode footer h6 {
      color: #ffffff !important;
  }

  body.dark-mode footer a {
      color: #58a6ff !important;
  }

  body.dark-mode footer a:hover {
      color: #79c0ff !important;
  }

  body.dark-mode footer .text-muted {
      color: #8b949e !important;
  }

  body.dark-mode .privacy-card {
      background: rgba(33, 37, 41, 0.95);
      color: #f8f9fa;
      border-color: rgba(255, 255, 255, 0.1);
  }

  body.dark-mode .section-card {
      background: rgba(33, 37, 41, 0.8);
      color: #f8f9fa;
      border-color: rgba(255, 255, 255, 0.1);
  }

  body.dark-mode .privacy-list li {
      background: rgba(255, 255, 255, 0.1);
      color: #f8f9fa;
      border-color: rgba(255, 255, 255, 0.1);
  }

  body.dark-mode .privacy-list li:hover {
      background: rgba(255, 255, 255, 0.15);
  }

  body.dark-mode .privacy-body p {
      color: #f8f9fa;
  }

  body.dark-mode .privacy-body h2 {
      color: #93c5fd;
  }

  body.dark-mode .privacy-body h3 {
      color: #c084fc;
  }

  body.dark-mode .support-section {
      background: linear-gradient(145deg, #2a3042 0%, #252b3f 100%);
      border-color: rgba(255, 255, 255, 0.1);
  }

  body.dark-mode .support-section h4 {
      color: #ffffff;
  }

  body.dark-mode .support-section p {
      color: #c2c6d1;
  }

  @media (max-width: 768px) {
      .support-section {
          padding: 1.25rem;
          margin: 1.5rem 0;
      }

      .support-section h4 {
          font-size: 1.3rem;
      }

      .btn-primary {
          padding: 0.75rem 2rem;
          font-size: 1rem;
      }
  }