        :root {
            --primary: #0d6efd;
            --secondary: #6c757d;
            --success: #198754;
            --info: #0dcaf0;
            --warning: #ffc107;
            --danger: #dc3545;
            --light: #f8f9fa;
            --dark: #212529;
            --trimplin-blue: #053a83;
            --trimplin-teal: #05cc9e;
            --trimplin-green: #2ed90e;
            --bg: #0b0b0e;
            --surface: #111217;
            --muted: #a4a8b3;
            --text: #e9ecf1;
            --brand: #4f7cff;
            --brand-2: #00d4b3;

            /* New color palette */
            --color1: #06c7e1;
            --color2: #073d85;
            --color3: #adeb07;
            --color4: #25d80e;
            --color5: #05d194;
            --color6: #06d556;
            --color7: #067fb1;
            --color8: #7cdc2e;
            --color9: #07b3a8;
            --color10: #47d999;
        }

        body {
            font-family: 'Open Sans', sans-serif;
            color: #333;
            overflow-x: hidden;
            background-color: #f9fafc;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
        }

        /* Navigation */
        /* Navigation */
      .navbar {
        padding: 15px 0;
        transition: all 0.3s ease;
        background-color: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
      }

      .navbar-brand {
        font-weight: 800;
        font-size: 28px;
        color: var(--trimplin-blue);
        display: flex;
        align-items: center;
      }

      .navbar-brand span {
        color: var(--trimplin-teal);
      }

      .nav-link {
        color: var(--trimplin-blue) !important;
        font-weight: 600;
        margin: 0 8px;
        position: relative;
        padding: 8px 12px !important;
        border-radius: 4px;
        transition: all 0.3s ease;
      }

      .nav-link:hover {
        color: white !important;
        background-color: var(--trimplin-blue);
      }

      .btn-primary {
        background: linear-gradient(
          135deg,
          var(--trimplin-blue) 0%,
          var(--trimplin-teal) 100%
        );
        border: none;
        padding: 12px 30px;
        border-radius: 30px;
        font-weight: 600;
        transition: all 0.3s ease;
      }

      .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(5, 58, 131, 0.2);
      }

      /* Top Bar */
      .topbar {
        background: linear-gradient(90deg, #0f1118, #151a23);
        color: #cfd5e2;
        padding: 8px 0;
        font-size: 0.9rem;
        text-align: center;
      }

      .topbar span {
        display: inline-flex;
        align-items: center;
        margin: 0 10px;
      }

        /* Hero Section */
        .terms-hero {
            background: linear-gradient(135deg, #60D270 0%, #053a83 100%);
            color: white;
            padding: 150px 0 100px;
            border-radius: 0 0 80px 80px;
            margin-bottom: 50px;
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .terms-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,224C672,235,768,181,864,165.3C960,149,1056,171,1152,186.7C1248,203,1344,213,1392,218.7L1440,224L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
            background-size: cover;
            background-position: center;
        }

        .terms-hero .container {
            position: relative;
            z-index: 2;
        }

        .terms-hero-content {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .terms-hero h1 {
            font-weight: 800;
            margin-bottom: 20px;
            font-size: 3.5rem;
            line-height: 1.2;
        }

        .terms-hero p {
            font-size: 1.3rem;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        /* Terms Content Section */
        .terms-content {
            padding: 80px 0;
            position: relative;
        }

        .terms-card {
            background: white;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            margin-bottom: 40px;
        }

        .terms-section {
            margin-bottom: 40px;
        }

        .terms-section h3 {
            color: var(--trimplin-blue);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid rgba(5, 58, 131, 0.1);
            position: relative;
        }

        .terms-section h3::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 60px;
            height: 2px;
            background: linear-gradient(to right, var(--trimplin-teal), var(--trimplin-green));
        }

        .terms-list {
            list-style: none;
            padding: 0;
        }

        .terms-list li {
            margin-bottom: 15px;
            padding-left: 30px;
            position: relative;
        }

        .terms-list li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--trimplin-teal);
            font-weight: bold;
            font-size: 1.2rem;
        }

        .note-box {
            background: rgba(255, 193, 7, 0.1);
            border-left: 4px solid var(--warning);
            padding: 20px;
            border-radius: 4px;
            margin: 30px 0;
        }

        .important-box {
            background: rgba(220, 53, 69, 0.1);
            border-left: 4px solid var(--danger);
            padding: 20px;
            border-radius: 4px;
            margin: 30px 0;
        }

        /* Footer */
      footer {
        background: linear-gradient(to right, var(--trimplin-blue) 0%, #042c68 100%);
        color: white;
        padding: 60px 0 20px;
        position: relative;
        overflow: hidden;
      }

      /* Doodle decorations */
      .footer-doodle {
        position: absolute;
        width: 100px;
        height: 100px;
        opacity: 0.5;
        background-size: contain;
        background-repeat: no-repeat;
      }

      /* Left doodle */
      .footer-doodle-1 {
        bottom: 80% !important;
        left: 2%;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50,20 C70,20 80,30 80,50 C80,70 70,80 50,80 C30,80 20,70 20,50 C20,30 30,20 50,20 Z' fill='none' stroke='%2305cc9e' stroke-width='3'/%3E%3Ccircle cx='50' cy='50' r='15' fill='none' stroke='%232ed90e' stroke-width='2'/%3E%3C/svg%3E");
      }

      /* Right doodle */
      .footer-doodle-2 {
        bottom: 20%;
        right: 7%;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,20 80,50 50,80 20,50' fill='none' stroke='%2305cc9e' stroke-width='3'/%3E%3Ccircle cx='50' cy='50' r='10' fill='none' stroke='%232ed90e' stroke-width='2'/%3E%3C/svg%3E");
      }

      /* Logo */
      .footer-logo {
        display: flex;
        justify-content: center;
        align-items: center;

        /* Your preferred desktop placement */
        margin-top: -60px;
        margin-bottom: -60px;
        margin-left: -80px;
        margin-right: auto;
      }

      .footer-logo img {
        max-width: 200px;
        height: auto;
        transition: all 0.3s ease;
      }

      .footer-logo span {
        color: var(--trimplin-teal);
      }

      /* About and links */
      .footer-about,
      .footer-links {
        text-align: left;
        padding: 0 10px;
        margin-bottom: 30px;
      }

      .footer-links h5 {
        font-weight: 700;
        margin-bottom: 15px;
        position: relative;
        padding-bottom: 8px;
      }

      .footer-links h5::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 3px;
        background: var(--trimplin-teal);
        border-radius: 2px;
      }

      .footer-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .footer-links li {
        margin-bottom: 10px;
      }

      .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: all 0.3s ease;
      }

      .footer-links a:hover {
        color: var(--trimplin-teal);
        padding-left: 5px;
      }

      /* Social icons */
      .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        text-decoration: none;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        font-size: 1.2rem;
        margin-right: 10px;
        transition: all 0.3s ease;
      }

      .social-icons a:hover {
        background: var(--trimplin-teal);
        color: var(--trimplin-blue);
        transform: translateY(-5px);
      }

      /* Layout alignment fix */
      footer .row {
        align-items: flex-start;
        text-align: left;
      }

      footer .row > div {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
      }

      /* Copyright */
      .copyright {
        text-align: center;
        padding-top: 30px;
        margin-top: 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
      }

      /* ===========================
         RESPONSIVE FIXES
         =========================== */

      @media (max-width: 1200px) {
        .footer-logo {
          margin-top: -40px;
          margin-bottom: -40px;
          margin-left: -40px;
          margin-right: auto;
        }
      }

      @media (max-width: 992px) {
        .footer-logo img {
          max-width: 180px;
        }
        .footer-logo {
          margin-top: -30px;
          margin-bottom: -30px;
          margin-left: 0;
          margin-right: 0;
        }
      }

      @media (max-width: 768px) {
        footer .row {
          text-align: center;
          align-items: center;
        }

        .footer-logo img {
          max-width: 220px; /* slightly larger logo on mobile */
        }

        .footer-logo {
          margin-top: 30px;   /* ✅ added top margin */
          margin-bottom: 40px; /* ✅ added bottom margin */
          margin-left: 0;
          margin-right: 0;
        }

        .footer-about,
        .footer-links {
          margin-bottom: 30px;
          text-align: center !important;
        }

        .social-icons a {
          margin-right: 6px;
          justify-content: center !important;
        }
      }

      @media (max-width: 576px) {
        .footer-logo img {
          max-width: 240px;
          margin-top: -150px;
          margin-bottom: -150px; /* ✅ bigger on small phones */
        }

        .footer-logo {
          margin-top: 40px;   /* ✅ more top margin */
          margin-bottom: 50px; /* ✅ more bottom margin */
        }

        .footer-links h5::after {
          left: 50%;
          transform: translateX(-50%);
        }

        .footer-links {
          text-align: center;
        }

        .footer-links ul li {
          margin-bottom: 8px;
        }
      }

        /* Enhanced UI Elements */
        .section-title {
            position: relative;
            margin-bottom: 50px;
            text-align: center;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--trimplin-teal), var(--trimplin-green));
            border-radius: 2px;
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .terms-hero h1 {
                font-size: 2.8rem;
            }

            .terms-hero p {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 768px) {
            .terms-hero {
                padding: 120px 0 80px;
            }

            .terms-hero h1 {
                font-size: 2.5rem;
            }

            .terms-card {
                padding: 30px 20px;
            }

            .topbar span {
                display: block;
                margin: 5px 0;
            }
        }

        @media (max-width: 576px) {
            .terms-hero h1 {
                font-size: 2.2rem;
            }

            .terms-hero p {
                font-size: 1.1rem;
            }

            .terms-card {
                padding: 20px 15px;
            }
        }

        /* Particle background */
      .particles {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          overflow: hidden;
          z-index: 1;
      }
        
      .particle {
          position: absolute;
          border-radius: 50%;
          background-color: rgba(255, 255, 255, 0.3);
          animation: particle-float 15s infinite linear;
      }
      
      @keyframes particle-float {
          0% {
              transform: translateY(100vh) translateX(0);
          }
          100% {
              transform: translateY(-100px) translateX(100px);
          }
      }
      
      /* Glowing effect */
    .glow {
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
        filter: blur(40px);
        z-index: 1;
        animation: glow-move 10s infinite alternate ease-in-out;
      }

      .glow-1 {
          top: -100px;
          right: -100px;
          animation-delay: 0s;
      }

      .glow-2 {
          bottom: -150px;
          left: -100px;
          animation-delay: 2s;
      }

      @keyframes glow-move {
          0% {
              transform: translate(0, 0) scale(1);
              opacity: 0.6;
          }
          50% {
              transform: translate(50px, 50px) scale(1.2);
              opacity: 0.8;
          }
          100% {
              transform: translate(-30px, -30px) scale(0.9);
              opacity: 0.5;
          }
      }

      /* Particle background - CORRECTED */
      .particles {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          overflow: hidden;
          z-index: 1;
      }

      .particle {
          position: absolute;
          border-radius: 50%;
          background-color: rgba(255, 255, 255, 0.5);
          animation: particle-float 15s infinite linear;
      }

      @keyframes particle-float {
          0% {
              transform: translateY(100vh) translateX(0) rotate(0deg);
              opacity: 0;
          }
          10% {
              opacity: 0.7;
          }
          90% {
              opacity: 0.7;
          }
          100% {
              transform: translateY(-100px) translateX(100px) rotate(360deg);
              opacity: 0;
          }
      }