/**
 * Legislation Page Styles
 * Styles for the HACCP legislation information page
 * 
 * @package DLM_E_Formation
 * @since 1.0.0
 */

/* Hero Section - Full Width */
.legislation-hero {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    position: relative;
}

.legislation-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.legislation-hero .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.legislation-hero .page-title i {
    color: #ffd700;
    margin-right: 1rem;
}

.legislation-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 1;
    line-height: 1.6;
    margin: 0;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Main container spacing */
.legislation-page {
    padding-top: 3rem;
}

/* Quick Navigation */
.legislation-nav {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 3rem;
    position: sticky;
    top: 100px;
    z-index: 50;
}

.quick-nav-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.quick-nav-list li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-nav-list li a:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.quick-nav-list li a i {
    color: #dc3545;
    transition: color 0.3s ease;
}

.quick-nav-list li a:hover i {
    color: white;
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-section.highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #dc3545;
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #dc3545;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

.section-header h2 i {
    color: #dc3545;
}

/* Legal Framework Cards */
.legal-framework {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.law-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #dc3545;
    transition: all 0.3s ease;
}

.law-card.primary {
    background: linear-gradient(135deg, #ffe5e8 0%, #ffffff 100%);
    border-left-color: #dc3545;
}

.law-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.law-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.law-icon i {
    font-size: 2rem;
    color: #dc3545;
}

.law-content h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.law-reference {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #28a745;
}

.law-reference strong {
    color: #28a745;
}

.law-reference a {
    color: #007bff;
    text-decoration: none;
    word-break: break-word;
}

.law-reference a:hover {
    text-decoration: underline;
}

.law-highlight {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: white;
    border-left: 4px solid #ffd700;
    border-radius: 8px;
    position: relative;
}

.law-highlight i {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #ffd700;
    font-size: 1.5rem;
    opacity: 0.5;
}

.law-highlight blockquote {
    margin: 0;
    padding-left: 2rem;
    font-style: italic;
    color: #495057;
    line-height: 1.8;
}

.law-points {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.law-points li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
}

.law-points li i {
    color: #28a745;
}

/* Info Boxes */
.info-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.info-box i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-box h4 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
}

.info-box p {
    margin: 0;
    line-height: 1.6;
}

.info-box.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.info-box.warning i {
    color: #ffc107;
}

.info-box.success {
    background: #d4edda;
    border-left-color: #28a745;
}

.info-box.success i {
    color: #28a745;
}

.info-box.primary {
    background: #d1ecf1;
    border-left-color: #17a2b8;
}

.info-box.primary i {
    color: #17a2b8;
}

.info-box.danger {
    background: #f8d7da;
    border-left-color: #dc3545;
}

.info-box.danger i {
    color: #dc3545;
}

/* Entity Cards */
.entity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.entity-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.entity-card.mandatory {
    border: 2px solid #28a745;
}

.entity-card.exempt {
    border: 2px solid #6c757d;
}

.entity-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.entity-card.mandatory .entity-icon {
    background: #d4edda;
    color: #28a745;
}

.entity-card.exempt .entity-icon {
    background: #e9ecef;
    color: #6c757d;
}

.entity-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.entity-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.entity-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
}

.entity-card.mandatory ul li i {
    color: #28a745;
    margin-top: 0.25rem;
}

.entity-card.exempt ul li i {
    color: #dc3545;
    margin-top: 0.25rem;
}

.entity-card .note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
}

.entity-card .note i {
    color: #007bff;
    flex-shrink: 0;
}

/* Exemptions */
.exemptions-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.exemptions-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.exemption-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exemption-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.exemption-item i {
    font-size: 1.5rem;
    color: #ffc107;
    flex-shrink: 0;
}

.exemption-item h4 {
    margin: 0 0 0.5rem;
    color: #2c3e50;
}

.exemption-item p {
    margin: 0;
    color: #6c757d;
}

/* Training Content */
.duration-info {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.duration-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.duration-card i {
    font-size: 3rem;
}

.duration-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 500;
}

.duration-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.duration-note {
    margin: 0;
    opacity: 0.9;
    font-size: 0.875rem;
}

/* Modules */
.modules-list {
    margin: 3rem 0;
}

.modules-list h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.module {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.module:hover {
    border-color: #007bff;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.1);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
}

.module-number {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.module-header h4 {
    flex: 1;
    margin: 0;
    color: #2c3e50;
    font-size: 1.25rem;
}

.module-duration {
    background: #28a745;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
}

.module-content {
    padding: 1.5rem;
}

.module-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-content li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
    line-height: 1.6;
}

.module-content li i {
    color: #dc3545;
    margin-top: 0.25rem;
}

/* Certification Info */
.certification-info {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #d4edda 0%, #ffffff 100%);
    border: 2px solid #28a745;
    border-radius: 12px;
}

.certification-info h3 {
    color: #28a745;
    margin-bottom: 1rem;
}

.certification-info h3 i {
    margin-right: 0.5rem;
}

/* Modalities Comparison */
.comparison-intro {
    margin-bottom: 2rem;
}

.comparison-intro .lead {
    font-size: 1.25rem;
    color: #2c3e50;
    line-height: 1.8;
    font-weight: 500;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.modality-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid;
}

.modality-card.online {
    border-color: #dc3545;
}

.modality-card.classroom {
    border-color: #dc3545;
}

.modality-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.modality-card.online .modality-badge {
    background: #ffe5e8;
    color: #dc3545;
}

.modality-card.classroom .modality-badge {
    background: #ffe5e8;
    color: #dc3545;
}

.modality-badge i {
    font-size: 1.5rem;
}

.modality-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.modality-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modality-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
    line-height: 1.6;
}

.modality-card .advantages li i {
    color: #28a745;
    margin-top: 0.25rem;
}

.modality-card .constraints li i {
    color: #ffc107;
    margin-top: 0.25rem;
}

.modality-card .requirements {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.legal-status {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
}

.legal-status.success {
    background: #d4edda;
    border: 1px solid #28a745;
}

.legal-status i {
    color: #28a745;
    flex-shrink: 0;
}

/* Validation Process */
.validation-process {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.validation-process h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #6c757d;
    font-size: 0.875rem;
    margin: 0;
}

/* Compliance Grid */
.compliance-content {
    padding: 1rem 0;
}

.intro-compliance {
    margin-bottom: 3rem;
}

.intro-compliance .lead {
    font-size: 1.25rem;
    color: #2c3e50;
    line-height: 1.8;
    text-align: center;
    font-weight: 500;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.compliance-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.compliance-item:hover {
    border-color: #dc3545;
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.15);
    transform: translateY(-5px);
}

.compliance-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.compliance-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.compliance-item p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.compliance-item ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.compliance-item ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.375rem 0;
    color: #495057;
}

.compliance-item ul li i {
    color: #28a745;
    margin-top: 0.25rem;
}

.compliance-item .validity {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fff3cd;
    border-radius: 8px;
    font-weight: 600;
    color: #856404;
}

.compliance-item .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.compliance-item .learn-more:hover {
    gap: 0.75rem;
}

/* Recognition List */
.testimonials-compliance {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
}

.testimonials-compliance h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.recognition-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.recognition-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.recognition-item i {
    color: #28a745;
    font-size: 1.5rem;
}

/* CTA Compliance */
.cta-compliance {
    margin-top: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    text-align: center;
}

.cta-compliance h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-compliance p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Sanctions */
.sanctions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.sanction-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sanction-item.administrative {
    border-left-color: #ffc107;
}

.sanction-item.financial {
    border-left-color: #dc3545;
}

.sanction-item.reputational {
    border-left-color: #6c757d;
}

.sanction-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.sanction-item.administrative .sanction-icon {
    background: #fff3cd;
    color: #ffc107;
}

.sanction-item.financial .sanction-icon {
    background: #f8d7da;
    color: #dc3545;
}

.sanction-item.reputational .sanction-icon {
    background: #e9ecef;
    color: #6c757d;
}

.sanction-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.sanction-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sanction-content ul li {
    margin-bottom: 1rem;
}

.sanction-content ul li strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.sanction-content ul li p {
    margin: 0;
    color: #6c757d;
}

/* Control Process */
.control-process {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.control-process h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.control-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.control-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.control-step .step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.control-step h4 {
    color: #2c3e50;
    margin: 0 0 0.5rem;
}

.control-step p {
    margin: 0;
    color: #495057;
    line-height: 1.6;
}

/* Prevention Box */
.prevention-box {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #d4edda 0%, #ffffff 100%);
    border: 2px solid #28a745;
    border-radius: 12px;
}

.prevention-box h3 {
    color: #28a745;
    margin-bottom: 1rem;
}

.prevention-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.prevention-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
}

.prevention-list li i {
    color: #28a745;
    margin-top: 0.25rem;
}

.urgent-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    text-align: center;
}

.urgent-cta p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #dc3545;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question i {
    color: #dc3545;
    font-size: 1.25rem;
}

.faq-question h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.125rem;
    flex: 1;
}

.faq-answer {
    padding: 1.5rem;
    color: #495057;
    line-height: 1.8;
    border-top: 1px solid #e9ecef;
}

.faq-answer p {
    margin: 0;
}

/* Final CTA */
.final-cta {
    margin: 4rem 0 2rem;
}

.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.3);
}

.cta-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.cta-features .feature i {
    color: #d4edda;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
}

.btn-primary {
    background: #dc3545;
    color: white;
}

.btn-primary:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 117, 125, 0.3);
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .quick-nav-list {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .legislation-hero .page-title {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 2rem;
    }
    
    .law-card {
        flex-direction: column;
    }
    
    .entity-grid {
        grid-template-columns: 1fr;
    }
    
    .compliance-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .legislation-hero {
        padding: 3rem 0;
    }
    
    .legislation-hero .page-title {
        font-size: 1.75rem;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    }
    
    .legislation-hero .hero-subtitle {
        font-size: 1rem;
        font-weight: 500;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    }
    
    .legislation-nav {
        position: static;
        padding: 1.5rem;
    }
    
    .quick-nav-list {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .law-icon {
        width: 60px;
        height: 60px;
    }
    
    .law-icon i {
        font-size: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
    
    .cta-box h2 {
        font-size: 1.75rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-xl {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .legislation-hero .page-title {
        font-size: 1.5rem;
    }
    
    .modality-card {
        padding: 1.5rem;
    }
    
    .control-step {
        flex-direction: column;
    }
    
    .recognition-list {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .legislation-nav,
    .cta-compliance,
    .final-cta {
        display: none;
    }
    
    .content-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
