/* Legal Pages Styles */

/* Hero Section */
.legal-hero {
    background: linear-gradient(rgba(20, 20, 30, 0.7), rgba(20, 20, 30, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.legal-hero .hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.legal-hero .hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Legal Content Section */
.legal-content {
    padding: 40px 0 60px;
}

.content-wrapper {
    display: flex;
    gap: 30px;
    padding: 30px;
}

.toc {
    flex: 0 0 250px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 15px;
}

.toc h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.toc ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.toc ul li a:hover {
    color: #36D399;
}

.legal-text {
    flex: 1;
}

.legal-text section {
    margin-bottom: 40px;
}

.legal-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #36D399;
}

.legal-text h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: #fff;
}

.legal-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.legal-text ul, .legal-text ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-text li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.legal-text a {
    color: #36D399;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Legal Hub Page */
.legal-hub {
    padding: 40px 0 60px;
}

.legal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.legal-card {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

.card-icon {
    font-size: 2.5rem;
    color: #36D399;
    margin-bottom: 20px;
}

.legal-card h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.legal-card p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.card-link {
    display: inline-block;
    color: #36D399;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #2bb37a;
    text-decoration: underline;
}

.legal-info {
    padding: 40px;
    margin-top: 40px;
}

.legal-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.legal-info p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.contact-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

/* FAQ Section */
.faq-section {
    padding: 50px 30px;
    margin: 40px 0;
}

.faq-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
}

.faq-toggle {
    font-size: 1.2rem;
    color: #36D399;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 15px;
}

.faq-answer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 40px 0 60px;
}

.cta-content {
    text-align: center;
    padding: 50px 30px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.cta-content p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.primary-btn {
    display: inline-block;
    background-color: #36D399;
    color: #1e1e28;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.primary-btn:hover {
    background-color: #2bb37a;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .toc {
        flex: none;
        position: static;
        max-height: none;
        width: 100%;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .legal-hero .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .legal-cards {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 767px) {
    .legal-hero {
        padding: 60px 0;
    }
    
    .legal-text h2 {
        font-size: 1.5rem;
    }
    
    .legal-text h3 {
        font-size: 1.2rem;
    }
    
    .cta-content {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .legal-hero .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .content-wrapper {
        padding: 20px;
    }
    
    .legal-info {
        padding: 25px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
} 