/* Homepage Styles */
main {
    padding-top: 90px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(10, 31, 68, 0.7), rgba(42, 67, 101, 0.8)), url('../images/hero1-modern-office-technology_orig.jpg') center/cover;
    background-attachment: fixed;
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(197, 48, 48, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-cta-wrapper {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

/* Featured News Block */
.featured-news-section {
    padding: 6rem 0;
    background: var(--bg-card);
}

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

.section-title {
    font-size: 36px;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.featured-articles-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.featured-article-large {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.featured-article-large img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article-large:hover img {
    transform: scale(1.05);
}

.featured-article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2rem;
}

.featured-article-category {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.featured-article-title {
    font-size: 24px;
    margin-bottom: 0.75rem;
    color: white;
    font-family: var(--font-heading);
}

.featured-article-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.featured-article-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.featured-article-small {
    display: flex;
    flex-direction: column;
}

.featured-article-small img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Regional Map Section */
.regional-map-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.regional-map-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.canada-map-interactive {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.canada-map-svg {
    width: 100%;
    height: auto;
    max-height: 500px;
}

.province-path {
    fill: var(--slate-blue);
    stroke: white;
    stroke-width: 2;
    transition: all 0.3s ease;
    cursor: pointer;
}

.province-path:hover,
.province-path.active {
    fill: var(--primary);
    transform: scale(1.02);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.region-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.region-filter-btn {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.region-filter-btn:hover,
.region-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* The Ledger Section */
.ledger-section {
    padding: 6rem 0;
    background: var(--bg-card);
}

.ledger-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.recent-updates-list {
    space-y: 2rem;
}

.update-item {
    padding: 1.5rem;
    border-left: 4px solid var(--accent);
    background: var(--bg-secondary);
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.update-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-light);
}

.update-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.update-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.update-summary {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.trending-topics {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
}

.trending-topics h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.trending-list {
    list-style: none;
}

.trending-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.trending-list li:last-child {
    border-bottom: none;
}

.trending-list a {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.trending-list a:hover {
    color: var(--accent);
}

/* Newsletter Subscription */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--slate-blue) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

.newsletter-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Inner Pages Styles */
.page-header {
    background: linear-gradient(rgba(10, 31, 68, 0.8), rgba(42, 67, 101, 0.9)), url('../images/section3-data-center-server_orig.jpg') center/cover;
    background-attachment: fixed;
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
}

.page-title {
    font-size: 44px;
    margin-bottom: 1rem;
    color: white;
}

.page-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb-area {
    background: var(--bg-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-nav {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb-nav a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

/* Content Sections */
.content-section {
    padding: 6rem 0;
}

.content-section:nth-child(even) {
    background: var(--bg-secondary);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.content-main h2 {
    font-size: 32px;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.content-main h3 {
    font-size: 24px;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.content-main p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.content-main ul,
.content-main ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-main li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.sidebar-widget h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 20px;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.sidebar-widget ul li a:hover {
    color: var(--accent);
}

/* Data Visualization */
.data-central-section {
    padding: 6rem 0;
    background: var(--bg-card);
}

.data-visualization {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.data-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.data-stat-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    text-align: center;
}

.data-stat-number {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.data-stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.team-member-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.team-member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--border-color);
}

.team-member-name {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.team-member-role {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-member-bio {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 0;
    background: var(--bg-card);
}

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

.client-testimonial {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    border-left: 4px solid var(--accent);
}

.testimonial-quote {
    font-size: 18px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.testimonial-location {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-light);
}

/* Contact Page */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 12px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 2rem;
}

.contact-detail {
    margin-bottom: 2rem;
}

.contact-detail h4 {
    color: var(--slate-blue);
    margin-bottom: 0.5rem;
    font-size: 16px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .featured-articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ledger-grid,
    .content-wrapper,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta-wrapper {
        flex-direction: column;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .team-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .data-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .region-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .canada-map-interactive {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 6rem 0;
    }
    
    .content-section {
        padding: 4rem 0;
    }
    
    .data-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar-widget,
    .contact-form-wrapper,
    .contact-info {
        padding: 1.5rem;
    }
}