/* =========================================
       RESET & BASE STYLES
       ========================================= */
* {
    box-sizing: border-box;
}

/* =========================================
       CURSOR TRAIL STYLES (ORIGINAL STYLE)
       ========================================= */
.circle-container {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.circle {
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--cursor-trail-color);
    opacity: 0.3;
    pointer-events: none;
    transition: transform 0.15s linear;
}

/* =========================================
       NAVBAR STYLES
       ========================================= */
       body.light-mode {
           --navbar-gradient-bottom: #e5e7eb;
           --glass-bg: #f8fafc;
           --glass-border: rgba(200, 200, 200, 0.4);
           --navbar-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
       }
.navbar {
    position: sticky;
    top: 20px;
    z-index: 1000;
    background: linear-gradient(to bottom,
            var(--glass-bg),
            var(--navbar-gradient-bottom));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 40px auto;
    transition: all 0.3s ease;
    box-shadow: var(--navbar-shadow);
}
.nav-logo {
    color: var(--primary);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 70%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    width: 30px;
    background: transparent;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    gap: 8px;
}

.theme-toggle:hover {
    background-color: var(--primary);
    color: var(--bg-primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* =========================================
       TERMS OF SERVICE CONTAINER STYLES
       ========================================= */
.terms-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

/* Animated background elements */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(2, 132, 199, 0.08) 0%,
            transparent 70%);
    animation: float 20s infinite linear;
}

.theme-dark .bg-circle {
    background: radial-gradient(circle,
            rgba(59, 130, 246, 0.1) 0%,
            transparent 70%);
}

.bg-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.bg-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation-delay: -10s;
    background: radial-gradient(circle,
            rgba(124, 58, 237, 0.08) 0%,
            transparent 70%);
}

.theme-dark .bg-circle:nth-child(2) {
    background: radial-gradient(circle,
            rgba(139, 92, 246, 0.1) 0%,
            transparent 70%);
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, 20px) rotate(90deg);
    }

    50% {
        transform: translate(0, 40px) rotate(180deg);
    }

    75% {
        transform: translate(-20px, 20px) rotate(270deg);
    }
}

/* TERMS CONTAINER */
.terms-container {
    width: 100%;
    max-width: 800px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    margin-bottom: 40px;
}

.terms-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.terms-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

/* Content Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    border-bottom: 1px solid var(--border);
    padding-bottom: 30px;
}

.header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.last-updated {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.terms-content {
    color: var(--text-primary);
    line-height: 1.7;
}

.terms-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-content h2 i {
    font-size: 20px;
    opacity: 0.9;
}

.terms-content p {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-secondary);
}

.terms-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: none;
}

.terms-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.terms-content ul li::before {
    content: "\f058"; /* FontAwesome Check Circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-size: 14px;
}

.terms-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.terms-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Table of Contents */
.toc {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.toc h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.toc ul {
    list-style: none;
    padding: 0;
}

.toc ul li {
    margin-bottom: 8px;
}

.toc ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.toc ul li a:hover {
    color: var(--primary);
}

/* Back Link */
.back-link {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.back-link a {
    color: var(--text-secondary);
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: var(--bg-primary);
    border: 1px solid var(--border);
}

.back-link a:hover {
    color: var(--primary);
    background: var(--primary-light);
    transform: translateX(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* =========================================
       FOOTER STYLES
       ========================================= */
.footer {
    background: linear-gradient(180deg, #f8fafc, #e5e7eb);
    color: #1f2933;
    padding: 60px 80px 20px;
    font-family: "Inter", sans-serif;
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
}

.footer-brand p {
    margin: 12px 0 20px;
    color: #4b5563;
    font-size: 14px;
}

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

.footer-social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2933;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background: #2563eb;
    color: #ffffff;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 14px;
    position: relative;
    color: #111827;
}

.footer-links h4::after {
    content: "";
    width: 30px;
    height: 2px;
    background: #2563eb;
    position: absolute;
    left: 0;
    bottom: -6px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

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

.footer-links ul li a {
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #111827;
}

.footer-bottom {
    border-top: 1px solid #d1d5db;
    margin-top: 50px;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #4b5563;
}

/* =========================
   FOOTER — DARK MODE
   ========================= */

.theme-dark .footer {
    background: linear-gradient(180deg, #0f172a, #020617);
    color: #e5e7eb;
}

.theme-dark .footer-brand h3 {
    color: #ffffff;
}

.theme-dark .footer-brand p {
    color: #9ca3af;
}

.theme-dark .footer-social-icons a {
    background: #020617;
    color: #e5e7eb;
}

.theme-dark .footer-social-icons a:hover {
    background: #2563eb;
    color: #ffffff;
}

.theme-dark .footer-links h4 {
    color: #ffffff;
}

.theme-dark .footer-links ul li a {
    color: #9ca3af;
}

.theme-dark .footer-links ul li a:hover {
    color: #ffffff;
}

.theme-dark .footer-bottom {
    border-top: 1px solid #1e293b;
    color: #9ca3af;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 50px 30px;
    }

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

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-dark .scroll-to-top {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.theme-dark .scroll-to-top:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.scroll-to-top.show {
    display: flex;
}

/* =========================================
       RESPONSIVE DESIGN
       ========================================= */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        margin: 20px auto 30px;
        border-radius: 12px;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        background: var(--bg-navbar);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .terms-container {
        padding: 30px;
        max-width: 95%;
    }

    h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .terms-container {
        padding: 24px;
        max-width: 100%;
    }
}

/* Print Styles */
@media print {
    .terms-container {
        box-shadow: none;
        border: 1px solid #ccc;
        max-width: 100%;
    }

    .navbar, .bg-elements, .footer, .back-link, .scroll-to-top {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .terms-container {
        box-shadow: none;
        border: none;
    }
}
/* =========================================
       THEME TOGGLE STYLES
       ========================================= */
      /* Theme variables for light and dark mode */
      :root {
        --primary: #2563eb;
        --secondary: #3b82f6;
        --bg-primary: #ffffff;
        --text-primary: #1e293b;
        --text-secondary: #64748b;
        --border-color: #e2e8f0;
        --card-bg: #ffffff;
        --nav-bg: rgba(255, 255, 255, 0.95);
      }

      [data-theme="dark"] {
        --primary: #60a5fa;
        --secondary: #3b82f6;
        --bg-primary: #0f172a;
        --text-primary: #f1f5f9;
        --text-secondary: #94a3b8;
        --border-color: #334155;
        --card-bg: #1e293b;
        --nav-bg: rgba(30, 41, 59, 0.95);
      }

      body {
        background-color: var(--bg-primary);
        color: var(--text-primary);
        transition:
          background-color 0.3s ease,
          color 0.3s ease;
        margin: 0;
        font-family: "Inter", sans-serif;
      }

      /* Theme toggle button styling */
      .theme-toggle {
        background: transparent;
        border: 2px solid var(--primary);
        color: var(--primary);
        padding: 8px 14px;
        border-radius: 20px;
        cursor: pointer;
        font-size: 18px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        margin-left: 15px;
      }

      .theme-toggle:hover {
        background-color: var(--primary);
        color: var(--bg-primary);
        transform: scale(1.05);
      }
      /* Terms container styling */
      .terms-container {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 2.5rem;
        margin: 2rem auto;
        max-width: 900px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      }

      .terms-container h1,
      .terms-container h2,
      .terms-container h3 {
        color: var(--primary);
      }

      .terms-container p,
      .terms-container li {
        color: var(--text-primary);
      }

      .toc {
        background: rgba(var(--primary-rgb, 37, 99, 235), 0.1);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 1.5rem;
        margin: 2rem 0;
      }

      .toc a {
        color: var(--primary);
        text-decoration: none;
      }

      .toc a:hover {
        text-decoration: underline;
      }

      /* Theme Variables */
      :root {
        --primary: #2563eb;
        --secondary: #3b82f6;
        --bg-primary: #ffffff;
        --text-primary: #1e293b;
        --text-secondary: #64748b;
        --border-color: #e2e8f0;
        --card-bg: #ffffff;
        --nav-bg: rgba(255, 255, 255, 0.95);
        --footer-bg: #f8fafc;
        --footer-text: #1e293b;
        --footer-border: #e2e8f0;
        --footer-link: #6b7b92;
        --footer-link-hover: #2563eb;
      }

[data-theme="dark"] {
  --primary: #60a5fa;
  --secondary: #3b82f6;
  --bg-primary: #0f172a;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border-color: #334155;
  --card-bg: #1e293b;
  --nav-bg: rgba(30, 41, 59, 0.95);
  --footer-bg: #1e293b;
  --footer-text: #f1f5f9;
  --footer-border: #334155;
  --footer-link: #cbd5e1;       /* Light gray for normal state */
  --footer-link-hover: #ffffff; /* WHITE for hover state - exactly what you want */
}

[data-theme="dark"] .footer-links a:hover {
  color: #ffffff !important;
}

[data-theme="dark"] .footer-links a:hover::after {
  background-color: #ffffff;
}


      body {
        background-color: var(--bg-primary);
        color: var(--text-primary);
        transition: background-color 0.3s ease, color 0.3s ease;
        margin: 0;
        font-family: 'Inter', sans-serif;
        line-height: 1.6;
      }

      /* Theme Toggle Button */
      .theme-toggle {
        background: transparent;
        border: 2px solid var(--primary);
        color: var(--primary);
        padding: 8px 14px;
        border-radius: 20px;
        cursor: pointer;
        font-size: 18px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
      }

      .theme-toggle:hover {
        background-color: var(--primary);
        color: var(--bg-primary);
        transform: scale(1.05);
      }

      /* Navbar Styling */
      .navbar {
        background: var(--nav-bg);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 1000;
        transition: all 0.3s ease;
      }

      .nav-logo {
        color: var(--primary);
        font-size: 1.5rem;
        font-weight: 700;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .nav-links {
        display: flex;
        list-style: none;
        gap: 2rem;
        margin: 0;
        padding: 0;
      }

      .nav-links a {
        color: var(--text-primary);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s;
        padding: 5px 10px;
        border-radius: 4px;
      }

      .nav-links a:hover {
        color: var(--primary);
        background: rgba(37, 99, 235, 0.1);
      }

      /* Hamburger Menu */
      .hamburger {
        display: none;
        flex-direction: column;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 5px;
      }

      .hamburger span {
        width: 25px;
        height: 3px;
        background-color: var(--text-primary);
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 3px;
      }

      /* Terms Container */
      .terms-wrapper {
        padding: 2rem;
        min-height: 70vh;
      }

      .terms-container {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 2.5rem;
        max-width: 900px;
        margin: 0 auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      }

      .terms-container h1,
      .terms-container h2,
      .terms-container h3 {
        color: var(--primary);
      }

      .terms-container h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 15px;
      }

      .terms-container h2 {
        font-size: 1.8rem;
        margin-top: 2.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--border-color);
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .terms-container h3 {
        font-size: 1.3rem;
        color: var(--secondary);
      }

      .terms-container p,
      .terms-container li {
        color: var(--text-primary);
      }

      .terms-container ul {
        padding-left: 1.5rem;
      }

      .terms-container li {
        margin-bottom: 0.5rem;
      }

      /* TOC Styling */
      .toc {
        background: rgba(37, 99, 235, 0.05);
        border-left: 4px solid var(--primary);
        padding: 1.5rem;
        border-radius: 8px;
        margin: 2rem 0;
      }

      .toc h3 {
        margin-top: 0;
        color: var(--primary);
      }

      .toc ul {
        list-style: none;
        padding-left: 0;
      }

      .toc li {
        margin-bottom: 0.8rem;
      }

      .toc a {
        color: var(--text-primary);
        text-decoration: none;
        transition: all 0.2s;
        display: block;
        padding: 5px 0;
      }

      .toc a:hover {
        color: var(--primary);
        padding-left: 10px;
      }

      /* Header Styling */
      .header {
        text-align: center;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 2px solid var(--border-color);
      }

      .last-updated {
        color: var(--text-secondary);
        font-style: italic;
        font-size: 0.9rem;
      }

      /* Back Link */
      .back-link {
        margin-top: 3rem;
        text-align: center;
      }

      .back-link a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        padding: 12px 24px;
        border: 2px solid var(--primary);
        border-radius: 25px;
        transition: all 0.3s ease;
        background: transparent;
      }

      .back-link a:hover {
        background-color: var(--primary);
        color: var(--bg-primary);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
      }

      /* Footer - FIXED HOVER COLORS */
      .footer {
        background: var(--footer-bg);
        color: var(--footer-text);
        border-top: 1px solid var(--footer-border);
        padding: 3rem 0 1.5rem;
        margin-top: 3rem;
        transition: all 0.3s ease;
      }

      .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
      }

      .footer-brand h3 {
        color: var(--primary);
        font-size: 1.5rem;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .footer-brand p {
        color: var(--text-secondary);
        margin-bottom: 1.5rem;
        line-height: 1.6;
      }

      .footer-social-icons {
        display: flex;
        gap: 1rem;
      }

      .footer-social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--border-color);
        border-radius: 50%;
        color: var(--text-primary);
        transition: all 0.3s ease;
      }

      .footer-social-icons a:hover {
        background: var(--primary);
        color: var(--bg-primary);
        transform: translateY(-3px);
      }

      .footer-links h4 {
        color: var(--primary);
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
      }

      .footer-links ul {
        list-style: none;
        padding: 0;
      }

      .footer-links li {
        margin-bottom: 0.8rem;
      }

      .footer-links a {
        color: var(--footer-link);
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-block;
        padding: 2px 0;
        position: relative;
      }

      .footer-links a:hover {
        color: var(--footer-link-hover);
        transform: translateX(5px);
      }

      /* Underline effect on hover */
      .footer-links a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--footer-link-hover);
        transition: width 0.3s ease;
      }

      .footer-links a:hover::after {
        width: 100%;
      }

      .footer-bottom {
        text-align: center;
        padding-top: 2rem;
        margin-top: 2rem;
        border-top: 1px solid var(--footer-border);
        color: var(--text-secondary);
        font-size: 0.9rem;
      }

      .footer-bottom i {
        margin: 0 5px;
        color: #ff6b6b;
      }

      /* Scroll to Top Button */
      .scroll-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        z-index: 1000;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      }

      .scroll-to-top:hover {
        background: var(--secondary);
        transform: translateY(-3px);
      }

      /* Responsive Design */
      @media (max-width: 768px) {
        .nav-links {
          display: none;
          position: absolute;
          top: 100%;
          left: 0;
          right: 0;
          background: var(--nav-bg);
          flex-direction: column;
          padding: 1rem;
          border-top: 1px solid var(--border-color);
          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }

        .nav-links.active {
          display: flex;
        }

        .hamburger {
          display: flex;
        }

        .hamburger.active span:nth-child(1) {
          transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active span:nth-child(2) {
          opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
          transform: rotate(-45deg) translate(7px, -6px);
        }

        .terms-wrapper {
          padding: 1rem;
        }

        .terms-container {
          padding: 1.5rem;
        }

        .terms-container h1 {
          font-size: 2rem;
        }

        .terms-container h2 {
          font-size: 1.5rem;
        }

        .footer-container {
          grid-template-columns: 1fr;
          text-align: center;
        }

        .footer-social-icons {
          justify-content: center;
        }

        .footer-links a:hover {
          transform: translateX(0);
        }
      }

      @media (max-width: 480px) {
        .navbar {
          padding: 1rem;
        }

        .terms-container {
          padding: 1rem;
        }

        .terms-container h1 {
          font-size: 1.8rem;
        }
      }
   