/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #1e40af;
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1e40af;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1e40af;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #1e40af;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc2626;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    max-width: 120px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.alt-bg {
    background-color: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: block;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.content-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-card {
    border-left: 4px solid #1e40af;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.content-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.timeline-item {
    margin-bottom: 1.5rem;
}

.timeline-date {
    display: inline-block;
    background: #1e40af;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.key-points h4 {
    color: #374151;
    margin-bottom: 1rem;
    font-weight: 600;
}

.key-points ul {
    list-style: none;
    padding-left: 0;
}

.key-points li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
}

.key-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Regulatory Table */
.regulatory-table {
    display: grid;
    gap: 0.5rem;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    align-items: center;
}

.table-row.header {
    background: #f1f5f9;
    font-weight: 600;
    color: #374151;
}

.table-row:not(.header) {
    background: #fafafa;
    border: 1px solid #e5e7eb;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

.status.active {
    background: #dcfce7;
    color: #166534;
}

.status.principles {
    background: #fef3c7;
    color: #92400e;
}

/* Minister Quote */
.minister-quote {
    background: #f8fafc;
    border-left: 4px solid #1e40af;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.minister-quote blockquote {
    font-style: italic;
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.minister-quote cite {
    color: #64748b;
    font-size: 0.9rem;
}

/* Provincial Grid */
.provincial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.province-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.province-card:hover {
    transform: translateY(-5px);
}

.province-card.ontario {
    border-left: 4px solid #dc2626;
}

.province-card.quebec {
    border-left: 4px solid #2563eb;
}

.province-card.other {
    border-left: 4px solid #7c3aed;
}

.province-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.province-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.province-tag {
    background: #f1f5f9;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.province-content h4 {
    color: #374151;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.province-content h5 {
    color: #1e40af;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

.key-features ul,
.directive-info,
.penalty-info {
    margin-bottom: 1rem;
}

/* Challenge Box */
.challenge-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}

.challenge-box h3 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-weight: 600;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.challenge-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #fecaca;
}

.challenge-item strong {
    color: #dc2626;
    display: block;
    margin-bottom: 0.5rem;
}

/* Ethics Grid */
.ethics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ethics-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.ethics-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.principle,
.framework,
.sector {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.principle:last-child,
.framework:last-child,
.sector:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.principle h4,
.framework h4,
.sector h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.principle p,
.framework p,
.sector p {
    color: #64748b;
    line-height: 1.6;
}

/* Trust Metrics */
.trust-metrics {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.trust-metrics h3 {
    color: #0c4a6e;
    margin-bottom: 2rem;
    font-weight: 600;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc2626;
    display: block;
}

.trust-label {
    font-size: 0.9rem;
    color: #0c4a6e;
    max-width: 120px;
    text-align: center;
}

.trust-note {
    color: #0c4a6e;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Future Grid */
.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.future-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.future-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.challenge,
.opportunity,
.step {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.challenge:last-child,
.opportunity:last-child,
.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.challenge h4 {
    color: #dc2626;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.opportunity h4 {
    color: #059669;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Investment Highlight */
.investment-highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 2rem;
}

.investment-highlight h3 {
    color: #166534;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.investment-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.investment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.investment-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #166534;
    display: block;
}

.investment-purpose {
    font-size: 0.9rem;
    color: #166534;
    max-width: 200px;
}

.investment-focus h4 {
    color: #166534;
    margin-bottom: 1rem;
    font-weight: 600;
}

.investment-focus ul {
    list-style: none;
    padding-left: 0;
}

.investment-focus li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #166534;
}

.investment-focus li::before {
    content: '💰';
    position: absolute;
    left: 0;
}

/* Resources Section */
.resources-section {
    padding: 60px 0;
    background: #f8fafc;
}

.resources-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 3rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.resource-card h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-weight: 600;
}

.resource-card ul {
    list-style: none;
    padding-left: 0;
}

.resource-card li {
    margin-bottom: 0.75rem;
}

.resource-card a {
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-card a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .content-grid,
    .provincial-grid,
    .ethics-grid,
    .future-grid {
        grid-template-columns: 1fr;
    }
    
    .challenge-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .investment-details {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .table-row span {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .content-card,
    .province-card,
    .ethics-card,
    .future-card {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card,
.province-card,
.ethics-card,
.future-card {
    animation: fadeInUp 0.6s ease-out;
}

