/* Legislation Page Specific Styles */

.legislation-hero {
    padding: 2rem 0 3rem;
}

.page-header {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FCD116, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Legislation Content */
.legislation-content {
    background: #111111;
    padding: 4rem 2rem;
}

.overview-section {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.overview-section h2 {
    font-size: 2.5rem;
    color: #FCD116;
    margin-bottom: 1.5rem;
}

.overview-section p {
    font-size: 1.2rem;
    color: #c0c0c0;
    line-height: 1.7;
}

/* Legislation Grid */
.legislation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.legislation-card {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(252, 209, 22, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.legislation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FCD116, #0057B8);
}

.legislation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(252, 209, 22, 0.2);
    border-color: rgba(252, 209, 22, 0.3);
}

/* Legislation Header */
.legislation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.legislation-icon {
    font-size: 2.5rem;
    color: #FCD116;
    filter: drop-shadow(0 0 10px rgba(252, 209, 22, 0.3));
}

.legislation-header h3 {
    flex: 1;
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: bold;
    min-width: 200px;
}

.legislation-year {
    background: linear-gradient(135deg, #FCD116, #0057B8);
    color: #ffffff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Legislation Content */
.legislation-summary {
    margin-bottom: 1.5rem;
}

.legislation-summary p {
    color: #c0c0c0;
    line-height: 1.6;
    font-size: 1rem;
}

.legislation-details {
    margin-bottom: 2rem;
    display: none; /* Hidden by default, shown when expanded */
}

.legislation-details.expanded {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

.legislation-details h4 {
    color: #FCD116;
    font-size: 1.1rem;
    margin: 1.5rem 0 0.8rem 0;
    font-weight: bold;
}

.legislation-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.legislation-details ul li {
    color: #a0a0a0;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.legislation-details ul li::before {
    content: '▸';
    color: #FCD116;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.legislation-details p {
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Action Buttons */
.legislation-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 120px;
}

.action-btn.primary {
    background: linear-gradient(135deg, #FCD116, #0057B8);
    color: #ffffff;
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 209, 22, 0.3);
}

.action-btn.secondary {
    background: transparent;
    color: #FCD116;
    border: 2px solid #FCD116;
}

.action-btn.secondary:hover {
    background: #FCD116;
    color: #000000;
}

.action-btn.tertiary {
    background: rgba(252, 209, 22, 0.1);
    color: #FCD116;
    border: 1px solid rgba(252, 209, 22, 0.3);
}

.action-btn.tertiary:hover {
    background: rgba(252, 209, 22, 0.2);
}

/* Compliance Section */
.compliance-section {
    margin: 4rem 0;
}

.compliance-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FCD116;
    margin-bottom: 3rem;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.compliance-card {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(252, 209, 22, 0.1);
    transition: all 0.3s ease;
}

.compliance-card:hover {
    transform: translateY(-5px);
    border-color: rgba(252, 209, 22, 0.3);
}

.compliance-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FCD116;
}

.compliance-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.compliance-card p {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.compliance-link {
    color: #FCD116;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 1px solid #FCD116;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.compliance-link:hover {
    background: #FCD116;
    color: #000000;
}

/* Reporting Section */
.reporting-section {
    background: linear-gradient(135deg, #d32f2f, #f57c00);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.reporting-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.reporting-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.reporting-section h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.reporting-section p {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.reporting-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.reporting-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.reporting-option:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.reporting-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reporting-option h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.reporting-option p {
    color: #ffffff;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.reporting-option p strong {
    font-size: 1.1rem;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .legislation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .legislation-card {
        padding: 1.5rem;
    }
    
    .legislation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .legislation-header h3 {
        min-width: auto;
        font-size: 1.2rem;
    }
    
    .legislation-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        text-align: center;
    }
    
    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reporting-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reporting-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .legislation-content {
        padding: 2rem 1rem;
    }
    
    .overview-section h2 {
        font-size: 2rem;
    }
    
    .compliance-section h2 {
        font-size: 2rem;
    }
    
    .reporting-section h2 {
        font-size: 1.8rem;
    }
    
    .legislation-card {
        padding: 1rem;
    }
    
    .legislation-icon {
        font-size: 2rem;
    }
}