/* Legal Pages Styling - Matches CareTech Support Theme */

:root {
    --pink: #ff66c4;
    --blue: #468bfd;
    --bg-dark: #0c0a10;
    --bg-darker: #14121a;
    --text-light: #f4f4f6;
    --text-muted: #c8c6d0;
}

body {
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
}

.navbar {
    background: rgba(12, 10, 16, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    background: linear-gradient(135deg, var(--pink), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 1.5rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--pink);
}

/* Main Content Styling */
.legal-page {
    padding-top: 100px;
    min-height: 100vh;
}

.legal-page h1 {
    background: linear-gradient(135deg, var(--pink), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.legal-page h2 {
    color: var(--pink);
    font-weight: 600;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 102, 196, 0.2);
}

.legal-page h3 {
    color: var(--blue);
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-page p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-page ul, .legal-page ol {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

.legal-page a {
    color: var(--pink);
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-page a:hover {
    color: var(--blue);
    text-decoration: underline;
}

.legal-page strong {
    color: var(--text-light);
    font-weight: 600;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Date and metadata */
.legal-page .metadata {
    background: rgba(255, 102, 196, 0.1);
    border-left: 4px solid var(--pink);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.legal-page section {
    background: rgba(20, 18, 26, 0.5);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 102, 196, 0.1);
}

/* Back to Home Button */
.btn-primary {
    background: linear-gradient(135deg, var(--pink), var(--blue));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 102, 196, 0.4);
    color: white !important;
}

/* Alert Box - Better Readability */
.alert-info {
    background: rgba(70, 139, 253, 0.15) !important;
    border: 1px solid rgba(70, 139, 253, 0.3) !important;
    border-left: 4px solid var(--blue) !important;
    color: var(--text-light) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page h1 {
        font-size: 2rem;
    }

    .legal-page h2 {
        font-size: 1.5rem;
    }

    .legal-page h3 {
        font-size: 1.25rem;
    }

    .legal-page section {
        padding: 1.5rem;
    }
}

/* Footer styling */
.footer {
    background: rgba(20, 18, 26, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.footer-location {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-light);
    margin-bottom: 0.85rem;
    font-size: 1rem;
}

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

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

.footer-links a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--pink);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-legal {
    margin-top: 0.75rem;
}

.footer-legal a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--pink);
}

.logo-text.gradient-text {
    background: linear-gradient(135deg, var(--pink), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 1.5rem;
}

.container {
    max-width: 900px;
}
