/* ========================================
   Legal Pages Stylesheet
   Professional, clean styling for legal documents
   ======================================== */

/* Fix Navigation Logo Size on Legal Pages */
.nav-logo {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
}

.logo-container {
    width: 60px !important;
    height: 60px !important;
}

/* Legal Page Container */
.legal-page {
    background-color: #F4EFFF;
    min-height: 100vh;
    padding: 100px 0 60px;
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Effective Date */
.effective-date {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-style: italic;
}

/* Page Title */
.legal-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #5f3179;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

/* Section Headings */
.legal-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #5f3179;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.legal-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #8b5da7;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* First h2 shouldn't have top margin */
.legal-content h2:first-of-type {
    margin-top: 0;
}

/* Paragraphs */
.legal-content p {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 20px;
}

/* Lists */
.legal-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-content ul li {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 10px;
}

.legal-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-content ol li {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 10px;
}

/* Links */
.legal-content a {
    color: #8b5da7;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.legal-content a:hover {
    color: #f8af0b;
}

/* Contact Box */
.contact-box {
    background: #F4EFFF;
    border-left: 4px solid #5f3179;
    padding: 30px;
    margin-top: 50px;
    border-radius: 8px;
}

.contact-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: #5f3179;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-box p {
    margin-bottom: 10px;
}

.contact-box a {
    color: #5f3179;
    font-weight: 600;
}

/* Disclaimer Sections */
.disclaimer-section {
    background: #F9F6FF;
    border-left: 4px solid #8b5da7;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
}

.disclaimer-section h3 {
    margin-top: 0;
    color: #5f3179;
}

.disclaimer-section p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.8;
}

/* Emphasis Box (for important disclaimers) */
.emphasis-box {
    background: #FFF9E6;
    border: 2px solid #f8af0b;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
}

.emphasis-box p {
    margin-bottom: 0;
    color: #333333;
    font-weight: 500;
}

/* Back to Home Link */
.back-link {
    display: inline-block;
    color: #8b5da7;
    font-size: 0.95rem;
    margin-bottom: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #5f3179;
    transform: translateX(-5px);
}

.back-link::before {
    content: "← ";
}

/* Strong/Bold text */
.legal-content strong {
    font-weight: 600;
    color: #5f3179;
}

/* Print Styles */
@media print {
    .legal-page {
        background: white;
        padding: 0;
    }
    
    .legal-content {
        box-shadow: none;
        padding: 20px;
        max-width: 100%;
    }
    
    .back-link {
        display: none;
    }
    
    /* Don't print navbar and footer */
    .navbar,
    .footer {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-page {
        padding: 80px 0 40px;
    }
    
    .legal-content {
        padding: 30px 20px;
        border-radius: 0;
    }
    
    .legal-content h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
        margin-top: 30px;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
    
    .legal-content p,
    .legal-content ul li,
    .legal-content ol li {
        font-size: 15px;
    }
    
    .contact-box,
    .disclaimer-section,
    .emphasis-box {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 20px 15px;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-content h2 {
        font-size: 1.2rem;
    }
}
