/* CO2 Laser Landing Page Styles */
/* Based on Novanta Design System from Screenshots */

/* Color Palette from Screenshots */
:root {
    --co2-primary-teal: #48b885;
    --co2-primary-blue: #024EA8;
    --co2-dark-gray: #5a5a5a;
    --co2-text-dark: #2d3748;
    --co2-text-gray: #6b7280;
    --co2-text-light-gray: #9ca3af;
    --co2-border-light: #e5e7eb;
    --co2-bg-light: #f9fafb;
    --co2-bg-white: #ffffff;
    --co2-accent-green: #10b981;
    --co2-accent-blue: #3b82f6;
}

.co2-laser-landing {
    padding: 0;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Open Sans", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--co2-text-dark);
}

/* Common Section Styles */
.co2-section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

.co2-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.co2-section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.co2-section-header .section-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.65;
    font-weight: 400;
    margin-top: 2vw;
}

/* Hero Section - Matching Screenshot Design */
.co2-hero-section {
    position: relative;
    padding: 180px 0 140px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--co2-dark-gray); /* Fallback from screenshot */
    color: white;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(135deg, rgba(90, 90, 90, 0.95), rgba(45, 45, 45, 0.95));
}

.co2-hero-section.dark-text {
    color: #2d3748;
}

.co2-hero-section.light-text {
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay.light-overlay {
    background: rgba(255, 255, 255, 0.3);
}

.hero-overlay.medium-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.hero-overlay.dark-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.co2-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}

.co2-hero-text h1 {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 36px;
    letter-spacing: -0.03em;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    margin-top: -20px;
}

.co2-hero-text .hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 48px;
    opacity: 1;
    max-width: 750px;
    line-height: 1.6;
    font-weight: 400;
    color: white !important;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.co2-hero-cta, .co2-hero-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
}

.co2-hero-cta {
    background: #48b885;
    color: white;
    box-shadow: 0 4px 14px rgba(72, 184, 133, 0.3);
}

.co2-hero-cta:hover {
    background: #3a9b79;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(72, 184, 133, 0.4);
}

.co2-hero-video-btn {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    border: 2px solid currentColor;
}

.co2-hero-video-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Primary Products Section - Based on Screenshot Layout */
.co2-primary-products-section {
    padding: 100px 0;
    background: #ffffff;
}

.co2-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.co2-product-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.co2-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #48b885;
}

.co2-product-card .product-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #ffffff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.co2-product-card .product-image img {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    object-fit: contain;
    transition: transform 0.3s ease;
    background: white;
    border-radius: 8px;
}

.co2-product-card:hover .product-image img {
    transform: scale(1.08);
}

.co2-product-card .product-content {
    padding: 28px 30px 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.co2-product-card .product-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 14px;
    line-height: 1.35;
    min-height: 60px;
    display: flex;
    align-items: center;
}

/* Fix subscript rendering in product titles and all headings */
.co2-product-card .product-title sub,
.product-title sub,
.co2-laser-landing h1 sub,
.co2-laser-landing h2 sub,
.co2-laser-landing h3 sub,
.co2-laser-landing h4 sub,
.co2-laser-landing h5 sub,
.co2-laser-landing h6 sub {
    display: inline !important;
    vertical-align: sub !important;
    font-size: 0.65em !important;
    line-height: 0 !important;
    position: relative !important;
    bottom: auto !important;
    top: 0.1em !important;
}

/* Ensure product titles with subscript maintain proper alignment */
.co2-product-card .product-title {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.co2-product-card .product-content p {
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 28px;
    font-size: 15px;
    flex-grow: 1;
    min-height: 80px;
}

.co2-product-card .product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #48b885;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.co2-product-card .product-link:hover {
    color: #3a9b79;
    gap: 12px;
}

.co2-product-card .product-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.co2-product-card .product-link:hover::after {
    transform: translateX(4px);
}

/* Specifications Section */
.co2-specs-section {
    padding: 80px 0;
    background: white;
}

.co2-specs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.co2-specs-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.co2-specs-text h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 20px;
}

.co2-specs-list {
    list-style: none;
    padding: 0;
}

.co2-specs-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.co2-specs-list li:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #374151;
}

.spec-value {
    color: #3b82f6;
    font-weight: 500;
}

/* CTA Section */
.co2-cta-section {
    padding: 80px 0;
    background: #f8fafc;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--co2-text-dark); /* Default text color */
}

.cta-content {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.cta-button-wrapper {
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

/* CTA Section Overlay */
.co2-cta-section .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Allow clicks to pass through to content */
}

.co2-cta-section .cta-overlay.light-overlay {
    background: rgba(255, 255, 255, 0.85);
}

.co2-cta-section .cta-overlay.medium-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.co2-cta-section .cta-overlay.dark-overlay {
    background: rgba(0, 0, 0, 0.7);
}

/* Ensure content is above overlay */
.co2-cta-section .co2-section-container {
    position: relative;
    z-index: 2;
}

/* Text color classes for CTA section */
.co2-cta-section.light-text h2,
.co2-cta-section.light-text .section-subtitle,
.co2-cta-section.light-text .cta-content {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.co2-cta-section.dark-text h2,
.co2-cta-section.dark-text .section-subtitle,
.co2-cta-section.dark-text .cta-content {
    color: var(--co2-text-dark);
}

/* Ensure button visibility with background images */
.co2-cta-section.light-text .co2-cta-primary {
    background: var(--co2-primary-teal);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.co2-cta-section.light-text .co2-cta-primary:hover {
    background: #3a9b79;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Technology Section */
.co2-technology-section {
    padding: 80px 0;
    background: white;
}

.co2-technology-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.co2-technology-item:last-child {
    margin-bottom: 0;
}

/* Default layout: content left, image right */
.co2-technology-item.content-left {
    grid-template-columns: 1fr 1fr;
}

.co2-technology-item.content-left .tech-content {
    order: 1;
}

.co2-technology-item.content-left .tech-image {
    order: 2;
}

/* Alternate layout: image left, content right */
.co2-technology-item.content-right,
.co2-technology-item.content_right,
.co2-technology-item.image-left {
    grid-template-columns: 1fr 1fr;
}

.co2-technology-item.content-right .tech-content,
.co2-technology-item.content_right .tech-content,
.co2-technology-item.image-left .tech-content {
    order: 2;
}

.co2-technology-item.content-right .tech-image,
.co2-technology-item.content_right .tech-image,
.co2-technology-item.image-left .tech-image {
    order: 1;
}

.co2-technology-item .tech-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.2;
}

.co2-technology-item .tech-subtitle {
    font-size: 1.125rem;
    color: #718096;
    margin-bottom: 24px;
}

.co2-technology-item .tech-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 30px;
}

.co2-technology-item .tech-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #38a169;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.co2-technology-item .tech-button:hover {
    background: #2f855a;
    transform: translateY(-2px);
}

.co2-technology-item .tech-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Applications Section - Matching Screenshot Design with Circular Icons */
.co2-applications-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.co2-applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
    align-items: stretch;
}

/* Application Cards Title - above the grid */
.co2-apps-cards-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: -20px;
}

.co2-apps-cards-title h2,
.co2-apps-cards-title h3 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.co2-apps-cards-title p {
    font-size: 16px;
    color: #6b7280;
    margin-top: 12px;
    line-height: 1.6;
}

/* 4-column grid for drilling applications */
.co2-applications-grid.four-column {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.co2-application-item {
    background: white;
    padding: 48px 40px;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    display: block;
}

/* Style for application cards that are links */
a.co2-application-item,
a.co2-application-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

a.co2-application-item:hover,
a.co2-application-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Ensure all child elements inherit the correct text colors */
.co2-application-item h3,
a.co2-application-item h3 {
    color: var(--co2-text-dark);
}

.co2-application-item p,
a.co2-application-item p {
    color: var(--co2-text-gray);
}

/* Compact cards for 4-column layout */
.four-column .co2-application-item {
    padding: 36px 28px;
    text-align: center;
}

.co2-application-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--co2-primary-teal);
    cursor: pointer;
}

/* Circular icon background matching screenshots */
.co2-application-item .application-icon {
    width: 80px;
    height: 80px;
    background: var(--co2-primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 8px 20px rgba(72, 184, 133, 0.25);
    position: relative;
}

/* Smaller icons for 4-column layout */
.four-column .co2-application-item .application-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
}

.co2-application-item .application-icon img,
.co2-application-item .application-icon i {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    font-size: 32px;
    color: white;
}

.four-column .co2-application-item .application-icon img,
.four-column .co2-application-item .application-icon i {
    width: 32px;
    height: 32px;
    font-size: 28px;
}

.co2-application-item h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--co2-text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.four-column .co2-application-item h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.co2-application-item p {
    color: var(--co2-text-gray);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 16px;
}

.four-column .co2-application-item p {
    font-size: 15px;
    margin-bottom: 20px;
}

.co2-application-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.co2-application-item ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #718096;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.co2-application-item ul li::before {
    content: '✓';
    color: #48b885;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

/* How Technology Works Section - 4 Column Layout from Screenshots */
.co2-technology-works-section {
    padding: 100px 0;
    background: #ffffff;
}

.co2-technology-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.co2-technology-works-card {
    background: #f8f9fa;
    padding: 36px 28px;
    border-radius: 6px;
    text-align: left;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.co2-technology-works-card:hover {
    transform: translateY(-6px);
    background: white;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #48b885;
}

.co2-technology-works-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.co2-technology-works-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 15px;
}

/* Detailed Applications with Icons - 4 Column Layout from Screenshots */
.co2-detailed-applications-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.co2-detailed-applications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-top: 60px;
}

.co2-detailed-application-card {
    text-align: center;
    padding: 30px 20px;
}

.co2-detailed-application-card .detailed-app-icon {
    width: 80px;
    height: 80px;
    background: #48b885;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: 0 8px 24px rgba(72, 184, 133, 0.25);
    position: relative;
}

.co2-detailed-application-card .detailed-app-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #48b885;
    opacity: 0.2;
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0; }
    100% { transform: scale(1); opacity: 0.2; }
}

.co2-detailed-application-card .detailed-app-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.co2-detailed-application-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.4;
}

.co2-detailed-application-card p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 15px;
}

.co2-detailed-application-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.co2-detailed-application-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #718096;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.co2-detailed-application-card ul li::before {
    content: '•';
    color: #48b885;
    font-weight: bold;
    margin-top: 2px;
    font-size: 18px;
}

/* Industries Section - 2x3 Grid from Screenshots */
.co2-industries-section {
    padding: 100px 0;
    background: white;
}

.co2-industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.co2-industry-card {
    background: white;
    padding: 48px 36px;
    border-radius: 6px;
    border: 1px solid var(--co2-border-light);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.co2-industry-card:hover {
    transform: translateY(-6px);
    background: white;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border-color: #48b885;
}

.co2-industry-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.co2-industry-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 16px;
}

/* Benefits Section - Matching Screenshot Design */
.co2-benefits-section {
    padding: 100px 0;
    background: white;
}

.co2-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.co2-benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 6px;
    border: 1px solid var(--co2-border-light);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.co2-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--co2-primary-teal);
}

.co2-benefit-card .benefit-icon {
    width: 72px;
    height: 72px;
    background: var(--co2-primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(72, 184, 133, 0.25);
    position: relative;
}

.co2-benefit-card .benefit-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--co2-primary-teal);
    opacity: 0.15;
    transform: scale(1.3);
}

.co2-benefit-card .benefit-icon img,
.co2-benefit-card .benefit-icon i {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
    font-size: 32px;
    color: white;
    position: relative;
    z-index: 1;
}

.co2-benefit-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--co2-text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.co2-benefit-card p {
    color: var(--co2-text-gray);
    line-height: 1.7;
    font-size: 16px;
}

/* Success Stories Section - Updated to match Related Content Cards */
.co2-success-stories-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Ensure consistent header styling with Related Content */
.co2-success-stories-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.co2-success-stories-section .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.co2-success-stories-section .section-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.co2-success-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
    margin-top: 50px;
}

/* Match Related Content Card Styling */
.co2-success-story-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.co2-success-story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--co2-primary-teal);
}

/* Image Container - Matching Related Content */
.co2-success-story-card .story-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f5f5f5;
}

.co2-success-story-card .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.co2-success-story-card:hover .story-image img {
    transform: scale(1.05);
}

/* Content Container - Matching Related Content */
.co2-success-story-card .story-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Optional: Add story type indicator */
.co2-success-story-card .story-type {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--co2-primary-teal);
    margin-bottom: 12px;
}

.co2-success-story-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.co2-success-story-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.co2-success-story-card .story-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--co2-primary-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    margin-top: auto;
}

.co2-success-story-card .story-link:hover {
    color: #3a9b79;
    gap: 10px;
}

.co2-success-story-card .story-link::after {
    content: '→';
    transition: transform 0.2s ease;
    display: inline-block;
}

.co2-success-story-card .story-link:hover::after {
    transform: translateX(3px);
}

/* Related Content Section */
.co2-related-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.co2-related-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.co2-related-section .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.co2-related-section .section-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.related-content-grid {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

.related-content-grid.related-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.related-content-grid.related-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.related-content-grid.related-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.related-content-item {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-content-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--co2-primary-teal);
}

.related-content-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f5f5f5;
}

.related-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-content-item:hover .related-content-image img {
    transform: scale(1.05);
}

.related-content-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-content-type {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--co2-primary-teal);
    margin-bottom: 12px;
}

.related-content-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.related-content-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-content-title a:hover {
    color: var(--co2-primary-teal);
}

.related-content-excerpt {
    color: #6b7280;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.related-content-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--co2-primary-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    margin-top: auto;
}

.related-content-link:hover {
    color: #3a9b79;
    gap: 10px;
}

.related-content-link .arrow {
    transition: transform 0.2s ease;
    display: inline-block;
}

.related-content-link:hover .arrow {
    transform: translateX(3px);
}

/* Responsive for Success Stories and Related Content - Ensure matching breakpoints */
@media (max-width: 1024px) {
    .related-content-grid.related-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .co2-success-stories-grid,
    .related-content-grid.related-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .co2-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-content-grid.related-grid-2,
    .related-content-grid.related-grid-3,
    .related-content-grid.related-grid-4,
    .co2-success-stories-grid {
        grid-template-columns: 1fr;
    }
    
    .co2-related-section,
    .co2-success-stories-section {
        padding: 60px 0;
    }
    
    .co2-related-section .section-title {
        font-size: 32px;
    }
    
    .co2-related-section .section-subtitle,
    .co2-success-stories-section .section-subtitle {
        font-size: 16px;
    }
    
    .co2-success-stories-section .section-title {
        font-size: 32px;
    }
    
    .co2-success-story-card .story-content,
    .related-content-info {
        padding: 20px;
    }
}

/* FAQ Section - Matching Application Detail Page Styling */
.co2-faq-section {
    padding: 80px 0;
    background: white;
}

.co2-faq-accordion {
    max-width: 1150px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color, #d0d5db);
    margin-bottom: 0;
    margin: 20px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-dark, #5e6266);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-color, #00B189);
}

.faq-toggle {
    position: relative;
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 1;
    text-align: center;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--text-light, #8A8F95);
    line-height: 1.6;
    display: none; /* Hidden by default, controlled by jQuery */
    /* Same left/right padding as question for consistent alignment */
}

.faq-answer.active {
    display: block;
}

/* Optional: Add smooth content appearance */
.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Final CTA Section */
.co2-final-cta-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    color: white;
}

.co2-final-cta-section .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.co2-final-cta-section .cta-overlay.light-overlay {
    background: rgba(255, 255, 255, 0.3);
}

.co2-final-cta-section .cta-overlay.medium-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.co2-final-cta-section .cta-overlay.dark-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.co2-final-cta-section .co2-section-container {
    position: relative;
    z-index: 2;
}

.co2-final-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.co2-final-cta-section .section-subtitle {
    font-size: 1.125rem;
    color: white !important;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.co2-final-cta-section .cta-content {
    color: white !important;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Ensure all text elements within final CTA are white */
.co2-final-cta-section .cta-content p,
.co2-final-cta-section .cta-content span,
.co2-final-cta-section .cta-content div,
.co2-final-cta-section .cta-content * {
    color: white !important;
}

.final-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Additional CTA Styling */
.co2-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.co2-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.co2-cta-section .section-subtitle {
    position: relative;
    z-index: 2;
}

.co2-cta-section p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.co2-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.co2-cta-primary, .co2-cta-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.co2-cta-primary {
    background: var(--co2-primary-teal);
    color: white;
    box-shadow: 0 4px 12px rgba(72, 184, 133, 0.3);
}

.co2-cta-primary:hover {
    background: #3a9b79;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 184, 133, 0.4);
}

.co2-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.co2-cta-secondary:hover {
    background: white;
    color: var(--co2-primary-teal);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .co2-section-container {
        max-width: 100%;
        padding: 0 40px;
    }
    
    .co2-applications-grid.four-column {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .co2-apps-cards-title h2,
    .co2-apps-cards-title h3 {
        font-size: 28px;
    }
    
    .co2-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .co2-technology-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .co2-detailed-applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .co2-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .co2-section-container {
        padding: 0 24px;
    }
    
    .co2-hero-section {
        padding: 100px 0;
        min-height: 500px;
    }
    
    .co2-hero-content {
        text-align: left;
    }
    
    .co2-specs-content,
    .co2-technology-item {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .co2-products-grid {
        grid-template-columns: 1fr;
    }
    
    .co2-hero-text h1 {
        font-size: 42px;
        margin-bottom: 24px;
    }
    
    .co2-hero-text .hero-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }
    
    .co2-section-header h2 {
        font-size: 36px;
    }
    
    .co2-section-header .section-subtitle {
        font-size: 18px;
    }
    
    .co2-applications-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
    
    .co2-applications-grid.four-column {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .co2-benefits-grid,
    .co2-industries-grid,
    .co2-technology-works-grid,
    .co2-detailed-applications-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .co2-technology-item.content_right .tech-content,
    .co2-technology-item.content_right .tech-image {
        order: unset;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .co2-cta-buttons,
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .co2-application-item,
    .four-column .co2-application-item {
        padding: 36px 28px;
        text-align: left;
    }
    
    .four-column .co2-application-item .application-icon {
        margin: 0 0 20px 0;
    }
}

@media (max-width: 480px) {
    .co2-section-container {
        padding: 0 16px;
    }
    
    .co2-hero-section {
        padding: 80px 0;
        min-height: 450px;
    }
    
    .co2-primary-products-section,
    .co2-cta-section,
    .co2-technology-section,
    .co2-applications-section,
    .co2-specs-section,
    .co2-benefits-section,
    .co2-success-stories-section,
    .co2-faq-section,
    .co2-final-cta-section {
        padding: 60px 0;
    }
    
    .co2-hero-text h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .co2-hero-text .hero-subtitle {
        font-size: 16px;
    }
    
    .co2-section-header h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .co2-section-header .section-subtitle {
        font-size: 16px;
    }
    
    .co2-section-header {
        margin-bottom: 40px;
    }
    
    .co2-apps-cards-title h2,
    .co2-apps-cards-title h3 {
        font-size: 24px;
    }
    
    .co2-apps-cards-title p {
        font-size: 14px;
    }
    
    .co2-application-item,
    .co2-benefit-card,
    .co2-industry-card {
        padding: 30px 20px;
    }
    
    /* Success story cards don't need padding adjustment as content is within .story-content */
    .co2-success-story-card .story-content {
        padding: 16px;
    }
    
    .co2-application-item h3,
    .co2-benefit-card h3 {
        font-size: 20px;
    }
    
    .co2-application-item p,
    .co2-benefit-card p {
        font-size: 14px;
    }
    
    .co2-technology-item {
        margin-bottom: 60px;
    }
    
    .co2-applications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .co2-benefits-grid,
    .co2-detailed-applications-grid {
        gap: 20px;
        margin-top: 40px;
    }
    
    .co2-application-item .application-icon,
    .co2-benefit-card .benefit-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .co2-application-item .application-icon img,
    .co2-benefit-card .benefit-icon img {
        width: 30px;
        height: 30px;
    }
    
    .co2-cta-primary,
    .co2-cta-secondary {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 260px;
    }
}

.lefty {
    display: inline-block;
    width: 45%;
    float: left;
}
.righty {
    display: inline-block;
    width: 45%;
    float: right;
}