:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --text-color: #1e293b;
    --light-text: #64748b;
    --background: #ffffff;
    --light-background: #f8fafc;
    --border-color: #e2e8f0;
}

html {
    scroll-behavior: smooth;
  }

* {
    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: var(--text-color);
}

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

/* Navigation and Banner */
.navbar {
    background: var(--background);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.canadian-banner {
    background: #f8fafc;
    color: var(--text-color);
    text-align: center;
    padding: 8px 20px;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-color);
}

.canadian-banner span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--background);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    padding: 6px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    min-height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    padding-top: 120px;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="none"/><circle cx="3" cy="3" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.4;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10vw;
    left: 0;
    width: 100%;
    height: 10vw;
    background: var(--background);
    transform: skewY(-3deg);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero .cta-button {
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0;
    background: white;
    color: var(--primary-dark);
    font-weight: 600;
    transition: all 0.2s ease;
}

.hero .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: bounce 2s infinite;
}

.floating-cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.floating-cta-button span {
    display: block;
}

.floating-cta-button .value-prop {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 5px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Services Section */
.services {
    position: relative;
    padding: 120px 0 160px;
    background: var(--background);
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-dark), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.services-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 20px;
    position: relative;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.service-card p {
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9375rem;
}

.service-features li::before {
    content: '→';
    color: var(--primary-color);
    font-weight: 600;
}

/* About/Why Choose Us Section */
.about {
    padding: 140px 0;
    background: var(--light-background);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--light-text);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--light-text);
    font-size: 0.9375rem;
}

.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.features-list li {
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
}

.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.certifications {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.certification-item {
    text-align: center;
    flex: 1;
}

.certification-item img {
    height: 40px;
    width: auto;
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.certification-item span {
    font-size: 0.875rem;
    color: var(--light-text);
    display: block;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--light-background);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 4rem;
    font-size: 1.2rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 0 -20px;
    padding: 0 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1.5rem;
    text-align: left;
}

.comparison-table th:first-child {
    border-top-left-radius: 12px;
}

.comparison-table th:last-child {
    border-top-right-radius: 12px;
}

.comparison-table .feature-header {
    background: #1e40af;
}

.comparison-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.faint-column {
    background: rgba(37, 99, 235, 0.05);
    font-weight: 600;
    display: flex;
    align-items: center; /* vertical alignment */
    gap: 0.5rem;         /* spacing between image and text */
}

.company-logo {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    display: inline-block;
    margin: 0; /* remove centering and spacing */
}

.check {
    color: #059669;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check::before {
    content: "✓";
    font-weight: bold;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.table-cta {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.table-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.action-row {
    background: #f8fafc;
}

/* Updated Testimonials/Use Cases Section */
.testimonials {
    padding: 140px 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1rem 0;
    color: var(--text-color);
}

.testimonial-card p {
    font-size: 0.9375rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-card .service-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.testimonial-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-item {
    text-align: center;
    padding: 0.75rem;
    background: var(--light-background);
    border-radius: 8px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--light-text);
}

.case-study-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: transform 0.2s ease;
}

.case-study-link:hover {
    transform: translateX(4px);
}

/* Case Study Pages */
.case-study {
    padding: 120px 0;
    background: var(--light-background);
}

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

.case-study-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.case-study-subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
}

.case-study-content {
    max-width: 800px;
    margin: 0 auto;
}

.problem-statement,
.solution,
.results {
    margin-bottom: 4rem;
}

.problem-statement h2,
.solution h2,
.results h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.solution ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solution li {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.solution li::before {
    content: "→";
    margin-right: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.result-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.result-item p {
    color: var(--light-text);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.success-quote {
    font-size: 1.25rem;
    color: var(--text-color);
    font-style: italic;
    text-align: center;
    max-width: 600px;
    margin: 3rem auto 0;
    position: relative;
}

.success-quote::before,
.success-quote::after {
    content: '"';
    color: var(--primary-color);
    font-size: 3rem;
    position: absolute;
    opacity: 0.2;
}

.success-quote::before {
    left: -1.5rem;
    top: -1rem;
}

.success-quote::after {
    right: -1.5rem;
    bottom: -2rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-button:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .case-study {
        padding: 80px 0;
    }

    .case-study-header h1 {
        font-size: 2.5rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .success-quote {
        font-size: 1.125rem;
        margin: 2rem auto 0;
    }
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--light-background) 0%, #ffffff 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.contact-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 4rem;
    font-size: 1.125rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--light-background);
    color: var(--text-color);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-color);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: white;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.25rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.submit-button:hover::before {
    transform: translateX(100%);
}

.button-note {
    font-size: 0.8125rem;
    opacity: 0.9;
    margin-top: 6px;
}

.contact-sidebar {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-info {
    margin-bottom: 2.5rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: 1.0625rem;
}

.contact-benefits {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--light-background);
    border-radius: 16px;
}

.contact-benefits h4 {
    margin-bottom: 1.25rem;
    color: var(--text-color);
    font-size: 1.125rem;
    font-weight: 600;
}

.contact-benefits ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-benefits li {
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.contact-benefits li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
}

.privacy-note {
    font-size: 0.875rem;
    color: var(--light-text);
    line-height: 1.6;
    padding: 1.25rem;
    background: var(--light-background);
    border-radius: 12px;
}

.privacy-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.privacy-note a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.privacy-note a:hover::after {
    transform: scaleX(1);
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 80px 0;
    }

    .contact h2 {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info h3 {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-sidebar {
        position: static;
    }

    .about {
        padding: 100px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-text h2 {
        font-size: 2.5rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 30px);
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .services {
        padding: 80px 0 120px;
    }

    .services h2 {
        font-size: 2.5rem;
    }

    .services-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 20px;
    }

    .service-card {
        padding: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-metrics {
        flex-direction: column;
        gap: 0.5rem;
    }

    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
    }

    .stats-grid {
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .certifications {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 20px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .testimonial-metrics {
        flex-direction: column;
        gap: 0.5rem;
    }

    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .floating-cta-button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .canadian-banner {
        font-size: 0.8125rem;
        padding: 6px 16px;
    }
}

/* Updated Case Study Button */
.case-study-button {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    background: none;
    border: none;
    font-weight: 500;
    margin-top: 1.5rem;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.case-study-button:hover {
    transform: translateX(4px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    margin: auto;
    background: white;
    border-radius: 24px;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Case Study Report Styles */
.case-study-report {
    background: white;
    border-radius: 24px;
}

.report-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 3rem;
    border-radius: 24px 24px 0 0;
    position: relative;
    overflow: hidden;
}

.report-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="none"/><circle cx="3" cy="3" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.4;
}

.report-logo {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.report-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.report-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9375rem;
    opacity: 0.9;
}

.report-content {
    padding: 3rem;
}

.report-section {
    margin-bottom: 3rem;
}

.report-section:last-child {
    margin-bottom: 0;
}

.report-section h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.report-section ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.report-section li {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--light-background);
    border-radius: 8px;
    font-size: 0.9375rem;
}

.report-section li::before {
    content: "→";
    margin-right: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.report-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.report-metrics .metric {
    background: var(--light-background);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.report-metrics .metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.report-metrics .metric-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.report-section .testimonial {
    font-size: 1.25rem;
    color: var(--text-color);
    font-style: italic;
    text-align: center;
    position: relative;
    padding: 2rem;
    background: var(--light-background);
    border-radius: 12px;
}

.report-section .testimonial::before,
.report-section .testimonial::after {
    content: '"';
    color: var(--primary-color);
    font-size: 3rem;
    position: absolute;
    opacity: 0.2;
}

.report-section .testimonial::before {
    left: 1rem;
    top: 1rem;
}

.report-section .testimonial::after {
    right: 1rem;
    bottom: 0;
}

@media (max-width: 768px) {
    .report-header {
        padding: 2rem;
    }

    .report-content {
        padding: 2rem;
    }

    .report-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .report-section .testimonial {
        font-size: 1.125rem;
        padding: 1.5rem;
    }
}

/* Form notification styles */
.form-notification {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
    position: relative;
}

.form-notification.success {
    background-color: #e7f7ed;
    color: #146c43;
    border-left: 4px solid #146c43;
}

.form-notification.error {
    background-color: #f8d7da;
    color: #b02a37;
    border-left: 4px solid #b02a37;
}

.form-notification.warning {
    background-color: #fff3cd;
    color: #997404;
    border-left: 4px solid #997404;
}

.form-notification.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

input:invalid:focus, select:invalid:focus, textarea:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}