/* =========================================
   LEGAL PAGES (PRIVACY & TERMS) STYLES
   ========================================= */
:root {
    --legal-primary: #0046bf;
    --legal-secondary: #F38A12;
    --legal-surface: #f8f9fa;
    --legal-text-main: #343a40;
    --legal-text-muted: #6c757d;
    --legal-white: #ffffff;
    --legal-font-main: 'Plus Jakarta Sans', sans-serif;
    --legal-font-body: 'Inter', sans-serif;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

/* Hero Section */
.legal-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    background: url("../images/Herobg.png") center center / cover no-repeat;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.legal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 15, 45, 0.95) 0%, rgba(0, 15, 45, 0.8) 100%);
    z-index: 1;
}

.legal-hero-wrap {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--legal-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.legal-hero-content h1 {
    font-size: 48px;
    color: var(--legal-white);
    font-family: var(--legal-font-main);
    font-weight: 800;
    margin-bottom: 20px;
}

.legal-hero-content h1 strong {
    color: var(--legal-secondary);
}

.legal-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* Content Section Layout */
.legal-content-section {
    padding: 100px 0;
    background-color: var(--legal-surface);
}

.legal-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: flex-start;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Left Sticky Sidebar */
.legal-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-sticky-content {
    background: var(--legal-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.sidebar-sticky-content h3 {
    font-size: 22px;
    color: var(--legal-primary);
    font-family: var(--legal-font-main);
    margin-bottom: 10px;
}

.legal-title-line {
    width: 60px;
    height: 3px;
    background: var(--legal-secondary);
    margin-bottom: 20px;
    border-radius: 5px;
}

.sidebar-sticky-content p {
    font-size: 14px;
    color: var(--legal-text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.sidebar-meta {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
    font-size: 13px;
}

.sidebar-meta strong {
    display: block;
    color: var(--legal-text-main);
    margin-bottom: 5px;
}

.sidebar-meta span {
    color: var(--legal-text-muted);
}

.sidebar-contact-btn {
    display: block;
    margin-top: 25px;
    text-align: center;
    background: var(--legal-primary);
    color: var(--legal-white);
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.sidebar-contact-btn:hover {
    background: #003da6;
}

/* Right Content Area */
.legal-content {
    background: var(--legal-white);
    padding: 50px 60px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.legal-content h2 {
    font-size: 26px;
    color: var(--legal-primary);
    font-family: var(--legal-font-main);
    margin: 40px 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #dee2e6;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    font-size: 16px;
    color: var(--legal-text-muted);
    font-family: var(--legal-font-body);
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul {
    padding-left: 25px;
}

.legal-content ul li {
    margin-bottom: 12px;
}

.legal-content strong {
    color: var(--legal-text-main);
}

/* Responsive Design */
@media (max-width: 992px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legal-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 60px 0;
    }

    .legal-hero-content h1 {
        font-size: 32px;
    }

    .legal-content-section {
        padding: 50px 0;
    }

    .legal-content {
        padding: 30px 24px;
    }

    .legal-content h2 {
        font-size: 22px;
    }

    /* Justify text on mobile */
    .legal-content p,
    .legal-content li {
        text-align: justify;
        font-size: 15px;
    }
}