@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003C1E;
    --primary-dark: #001F0F;
    --primary-light: #00572A;
    --secondary-color: #0077C8;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --bg-dark: #0077C8;
    --bg-card: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

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

.navbar {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.navbar-home {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.navbar-home .nav-links a {
    color: #30373E;
    background-color: #ffffff;
    border-top-color: transparent;
}

.navbar-home .nav-links a:hover {
    color: var(--primary-color);
    border-top-color: var(--primary-color);
}

.navbar-home .mobile-menu-btn span {
    background: var(--text-dark);
}

.navbar-home .nav-cta {
    background: var(--primary-color);
    color: #fff;
}

.navbar-home .nav-cta:hover {
    background: var(--primary-light);
    color: #fff;
}

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

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 6px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #003C1E;
    border-radius: 50%;
}

.logo-img {
    height: 28px;
    width: auto;
    vertical-align: middle;
    display: block;
}

.footer-logo-img {
    height: 28px;
    filter: none;
    margin: 0 auto;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #003C1E;
    line-height: 1.2;
}

.logo-subtext {
    font-size: 0.65rem;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-cta {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #30373E;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 20px 12px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    border-top: 3px solid transparent;
    white-space: nowrap;
    background-color: #ffffff;
}

.nav-links a:hover,
.nav-links a.active {
    color: #003C1E;
    border-top: 3px solid #003C1E;
}

.has-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links .dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s ease;
}

.dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    min-width: 220px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1001;
    list-style: none;
}

.dropdown.active .dropdown-menu,
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.65rem 1.25rem;
    color: #333;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    border-top: none;
}

.dropdown-menu li a:hover {
    background: #f0f7f3;
    color: #003C1E;
}

.nav-links > li > a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    text-align: left;
    color: white;
    padding: 2rem;
    padding-top: 120px;
    padding-bottom: 4vh;
    margin-top: 0;
    overflow: hidden;
    --hero-brightness: 1.15;
    --hero-contrast: 0.98;
    --hero-sat: 0.82;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/DEF_truck_hero.png') center 40% / cover no-repeat;
    filter: brightness(var(--hero-brightness)) contrast(var(--hero-contrast)) saturate(var(--hero-sat));
    transform: scale(1.005);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(
            circle at 22% 18%,
            rgba(0, 0, 0, 0.42) 0%,
            rgba(0, 0, 0, 0.22) 30%,
            rgba(0, 0, 0, 0.10) 46%,
            rgba(0, 0, 0, 0.00) 62%
        ),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.16) 0%,
            rgba(0, 0, 0, 0.10) 26%,
            rgba(0, 0, 0, 0.04) 40%,
            rgba(0, 0, 0, 0.00) 55%,
            rgba(0, 0, 0, 0.00) 100%
        );
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero-content-left {
    padding-left: 40px;
}

.hero-eyebrow {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8DC63F;
    margin-bottom: 1rem;
    animation: fadeInUp 0.7s ease both;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.hero-content h1 {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    color: #fff;
    animation: fadeInUp 0.8s ease 0.1s both;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.15);
}

.hero-sub {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    max-width: 520px;
    animation: fadeInUp 0.8s ease 0.25s both;
    font-weight: 500;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-content .hero-tagline,
.hero-content .hero-intro {
    display: none;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

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

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-card);
    color: #ffffff;
    border-color: #ffffff;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.intro {
    padding: 5rem 2rem;
    background: var(--bg-card);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.intro-content p {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.8;
}

.products-section {
    background: #ffffff;
    padding: 100px 0;
}

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

.products-header {
    text-align: center;
    margin-bottom: 60px;
}

.products-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.products-header p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(0, 0, 0, 0.7);
    font-size: 18px;
    line-height: 1.7;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.product-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08);
}

.product-card-image {
    height: 140px;
    position: relative;
    overflow: hidden;
}

.product-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

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

.product-card-content {
    padding: 28px;
}

.product-card-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.product-card-content p {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.75);
    margin-bottom: 18px;
    line-height: 1.6;
}

.product-card-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.product-card-content a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-section {
        padding: 60px 0;
    }

    .products-header h2 {
        font-size: 30px;
    }
}

.trust-section {
    background: #f8faf9;
    padding: 100px 0;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.trust-container h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.trust-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 50px;
}

.trust-chip {
    background: #ffffff;
    padding: 16px 22px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.trust-container p {
    max-width: 780px;
    margin: 0 auto 40px auto;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.75);
}

.trust-cta {
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .trust-section {
        padding: 60px 0;
    }

    .trust-container h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .trust-chip {
        white-space: normal;
        text-align: center;
    }
}

.features {
    padding: 5rem 2rem;
    background: #ffffff;
    color: #333333;
}

.features .section-title {
    color: #333333;
}

.features .section-title::after {
    background: var(--primary-color);
}

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

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-item p {
    opacity: 0.9;
}

.cta {
    padding: 5rem 2rem;
    background: var(--bg-dark);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-content p {
    color: #94a3b8;
    margin-bottom: 2rem;
    font-size: 15px;
}

.cta-section {
    padding: 5rem 2rem;
    background: #87CEEB;
    text-align: center;
}

.cta-section h2 {
    color: #333333;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #555555;
    margin-bottom: 2rem;
}

.hero-tagline {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-intro {
    font-size: 15px;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.about-preview {
    padding: 5rem 2rem;
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-content h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-content p {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.proof-points {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.proof-points h2 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.proof-list {
    list-style: none;
    padding: 0;
}

.proof-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #94a3b8;
}

.proof-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.intro-text {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.format-list,
.market-list,
.application-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.format-list li,
.market-list li,
.application-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #94a3b8;
}

.format-list li::before,
.market-list li::before,
.application-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.faq-section {
    padding: 5rem 2rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.faq-item h2 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #94a3b8;
    line-height: 1.8;
}

.faq-item a {
    color: var(--primary-color);
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.products-side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.product-column {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.product-column h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-column h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.product-column p {
    color: #94a3b8;
    line-height: 1.7;
}

.product-bg-def {
    position: relative;
    overflow: hidden;
}

.product-bg-def::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/attached_assets/DEF_Truck_1766001341985.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.30;
    z-index: 0;
}

.product-bg-def > * {
    position: relative;
    z-index: 1;
}

.product-bg-aus40 {
    position: relative;
    overflow: hidden;
}

.product-bg-aus40::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/attached_assets/IMG_6972_1766001367896.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.30;
    z-index: 0;
}

.product-bg-aus40 > * {
    position: relative;
    z-index: 1;
}

.biodiesel-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 70px;
    padding: 4rem 0;
    align-items: center;
}

.biodiesel-showcase-content {
    display: flex;
    align-items: center;
    padding: 4rem;
    background: var(--bg-dark);
}

.biodiesel-text-block {
    max-width: 540px;
}

.biodiesel-text-block h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.biodiesel-tagline {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.biodiesel-description {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.biodiesel-showcase-images {
    display: flex;
    align-items: flex-start;
    padding-right: 2rem;
}

.biodiesel-showcase-proof {
    padding-right: 2rem;
}

.biodiesel-showcase-proof h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.proof-points-grid-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.facility-photos-section {
    padding: 4rem 0;
    background: var(--bg-card);
}

.facility-photos-section .container {
    max-width: 100%;
    padding: 0 1rem;
}

.facility-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.facility-photos-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.facility-photo {
    border-radius: 8px;
    overflow: hidden;
}

.facility-photo img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .facility-photos-grid {
        grid-template-columns: 1fr;
    }
}

.biodiesel-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 280px;
    gap: 0.5rem;
    row-gap: 1.5rem;
}

.biodiesel-image-cell {
    border-radius: 6px;
    overflow: hidden;
}

.biodiesel-image-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 6px;
}

.biodiesel-image-cell:nth-child(3) img {
    object-position: bottom;
}

.proof-points-section {
    padding: 5rem 2rem;
    background: var(--bg-card);
}

.proof-points-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 3rem;
}

.proof-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.proof-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.proof-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.proof-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.proof-label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.4;
}

.proof-note {
    text-align: center;
    color: #94a3b8;
    margin-top: 2rem;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .biodiesel-showcase {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .biodiesel-showcase-images {
        order: -1;
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .biodiesel-text-block h1 {
        font-size: 2.25rem;
    }
    
    .proof-points-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .biodiesel-showcase-content {
        padding: 2rem;
    }
    
    .proof-points-grid {
        grid-template-columns: 1fr;
    }
    
    .proof-value {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .products-side-by-side {
        grid-template-columns: 1fr;
    }
}

.product-block {
    padding: 4rem 2rem;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
}

.product-block + .product-block {
    margin-top: 0;
    padding-top: 0;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.page-hero-copy h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #333333;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.page-hero-copy h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333333;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.page-hero-copy .product-tagline {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.page-hero-copy p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.page-hero-copy h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.5rem;
    margin-top: 1.25rem;
}

.page-hero-copy ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.page-hero-copy ul li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: #555555;
    line-height: 1.7;
}

.page-hero-copy ul li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.page-hero-copy .btn {
    margin-top: 1rem;
}

.page-hero-media {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-hero-media img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.biodiesel-proof-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.biodiesel-proof-item {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.6rem 0.4rem;
    text-align: center;
}

.biodiesel-proof-item .proof-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.15rem;
    display: block;
}

.biodiesel-proof-item .proof-label {
    font-size: 0.7rem;
    color: #666;
    line-height: 1.3;
    display: block;
}

.biodiesel-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.biodiesel-photo-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.biodiesel-gallery {
    padding: 60px 0;
    background: #f8faf9;
}

.biodiesel-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.biodiesel-gallery-grid img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.biodiesel-gallery-grid img:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    .biodiesel-proof-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .biodiesel-proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .biodiesel-photo-grid {
        grid-template-columns: 1fr;
    }

    .biodiesel-photo-grid img {
        height: 180px;
    }

    .biodiesel-gallery-grid {
        grid-template-columns: 1fr;
    }

    .biodiesel-gallery-grid img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .biodiesel-proof-grid {
        grid-template-columns: 1fr;
    }
}

.image-placeholder {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 8px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.1rem;
    font-weight: 500;
}

.proof-bar-top {
    margin-bottom: 2rem;
}

.proof-bar {
    background: #f8f9fa;
    padding: 1.5rem 0 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.proof-bar-items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.proof-item {
    text-align: center;
}

.proof-item .proof-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.15rem;
}

.proof-item .proof-label {
    display: block;
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .page-hero-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-media {
        order: -1;
    }

    .page-hero-copy h1 {
        font-size: 1.75rem;
    }

    .page-hero-copy h2 {
        font-size: 1.5rem;
    }

    .proof-bar-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.about-section h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-section p {
    color: #94a3b8;
    line-height: 1.8;
}

.about-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-photos-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-photos-column img {
    width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .about-two-column {
        grid-template-columns: 1fr;
    }
    
    .about-photos-column {
        order: -1;
    }
}

.about-cta {
    text-align: center;
    margin-top: 3rem;
}

.about-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.footer-brand p {
    color: #94a3b8;
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: #64748b;
}

.footer {
    background: #333333;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
}

footer {
    background: #333333;
    color: white;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.footer-section p {
    color: #a0a0a0;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: #a0a0a0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #717171;
}

.page-hero {
    background: var(--bg-dark);
    color: white;
    padding: 8rem 2rem 4rem;
    margin-top: 70px;
    text-align: center;
}

.page-hero-def {
    background: var(--bg-dark);
}

.page-hero-coatings {
    background: var(--bg-dark);
}

.page-hero-about {
    background: var(--bg-dark);
}

.page-hero-about-bg {
    position: relative;
    background: url('/attached_assets/IMG_6711_1766015263089.jpeg') center center / cover no-repeat;
}

.page-hero-about-bg .hero-overlay {
    background: rgba(135, 206, 235, 0.5);
}

.page-hero-contact {
    background: var(--bg-dark);
}

.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.product-intro {
    padding: 5rem 2rem;
}

.product-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-intro-content h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.product-intro-content p {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.placeholder-image {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 500;
}

.placeholder-image.large {
    height: 400px;
}

.product-benefits {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

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

.benefit-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #0f172a;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.benefit-card p {
    color: #94a3b8;
}

.product-data {
    padding: 5rem 2rem;
}

.data-table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.data-table th,
.data-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: #94a3b8;
}

.data-table th {
    background: var(--bg-dark);
    color: #ffffff;
    font-weight: 600;
}

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

.data-table tr:hover {
    background: rgba(255,255,255,0.05);
}

.product-applications {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

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

.application-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.application-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.application-item p {
    color: #94a3b8;
}

.product-categories {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

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

.category-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.category-card h3 {
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.category-card p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.category-features {
    list-style: none;
    padding-left: 0;
}

.category-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #94a3b8;
}

.category-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.product-packaging {
    padding: 5rem 2rem;
}

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

.packaging-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.packaging-item h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.packaging-item p {
    color: #94a3b8;
}

.company-story {
    padding: 5rem 2rem;
}

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

.story-content h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.story-content p {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.company-history {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-marker {
    position: absolute;
    left: -33px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--bg-light);
}

.timeline-content {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #94a3b8;
}

.company-values {
    padding: 5rem 2rem;
}

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

.value-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.value-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.value-card p {
    color: #94a3b8;
}

.leadership {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

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

.leader-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.leader-photo {
    margin-bottom: 1.5rem;
}

.placeholder-avatar {
    width: 120px;
    height: 120px;
    background: #003C1E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #ffffff;
    font-weight: 500;
}

.leader-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.leader-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-bio {
    color: #94a3b8;
    font-size: 0.95rem;
}

.contact-section {
    padding: 5rem 2rem;
}

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

.contact-info h2,
.contact-form-container h2 {
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0f172a;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.required {
    color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-card);
    color: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc2626;
}

.error-message {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-success {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #0f172a;
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

.form-success h3 {
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.form-success p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .product-intro-grid,
    .story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-intro-image,
    .story-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: var(--shadow-md);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 1rem;
        display: none;
        border: none;
        min-width: auto;
        background: #f8f9fa;
        border-radius: 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 0.75rem 1rem;
        font-size: 14px;
    }

    .navbar-home .nav-links a,
    .navbar-home .nav-links.active a {
        color: #30373E;
        background-color: #fff;
    }

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

    .hero-content-left {
        padding-left: 20px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-sub {
        font-size: 1rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .products-grid,
    .benefits-grid,
    .features-grid,
    .applications-grid,
    .categories-grid,
    .values-grid,
    .leadership-grid,
    .packaging-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

.about-hero {
    position: relative;
    height: calc(60vh + 70px);
    min-height: 570px;
    overflow: hidden;
    background: #003C1E;
}

.about-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: scale(0.78);
    transform-origin: center bottom;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.25) 100%);
}

.about-hero-content {
    position: absolute;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
    top: 26%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.about-hero-heading {
    font-size: clamp(1.6rem, 3.2vw, 2.75rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.05;
    margin: 0;
}

.about-hero-year {
    color: #003C1E;
}

.about-hero-rule {
    width: 12rem;
    height: 4px;
    margin: 2rem auto 0;
    background: linear-gradient(to right, transparent, #003C1E, transparent);
    opacity: 0.8;
}

.about-intro-band {
    padding: 3rem 0;
    background: #fff;
}

.about-intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.timeline-section {
    padding: 2rem 0 4rem;
}

.timeline-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #003C1E;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 1.5rem;
}

.timeline-heading-rule {
    width: 3rem;
    height: 2px;
    background: #003C1E;
    margin: 0 auto 2.5rem;
}

.timeline-horizontal {
    position: relative;
}

.timeline-rail {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 0 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 0.5rem;
}

.timeline-rail::-webkit-scrollbar {
    display: none;
}

.timeline-rail::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0.25rem 0.5rem;
    min-width: 110px;
    scroll-snap-align: center;
    position: relative;
    z-index: 1;
    font-family: inherit;
}

.timeline-node:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 4px;
}

.timeline-node-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border-color);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.timeline-node.is-active .timeline-node-dot {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.25);
    box-shadow: 0 0 0 3px rgba(0, 60, 30, 0.2);
}

.timeline-node-year {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-medium);
    margin-top: 0.6rem;
    transition: color 0.25s ease;
}

.timeline-node.is-active .timeline-node-year {
    color: var(--primary-color);
}

.timeline-node-label {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    text-align: center;
    line-height: 1.3;
    max-width: 110px;
    transition: color 0.25s ease;
}

.timeline-node.is-active .timeline-node-label {
    color: var(--text-dark);
    font-weight: 600;
}

.timeline-detail {
    display: flex;
    flex-direction: row;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.07);
    border: 1px solid #e8edf2;
    margin-top: 2.5rem;
    min-height: 320px;
    background: #fff;
}

.timeline-detail-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--primary-color);
    z-index: 10;
    flex-shrink: 0;
}

.timeline-detail-content {
    flex: 1;
    padding: 3rem 2.5rem 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-detail-year-badge {
    display: inline-flex;
    margin-bottom: 1.25rem;
}

.timeline-detail-year {
    background: rgba(0, 60, 30, 0.10);
    color: var(--primary-color);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.timeline-detail-title {
    display: none;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.timeline-detail-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-medium);
}

.timeline-detail-link {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.timeline-detail-link:hover {
    text-decoration: underline;
}

.timeline-detail-image {
    width: 45%;
    min-height: 320px;
    position: relative;
    background: #004d29;
    flex-shrink: 0;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.timeline-detail-image.is-animating {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
}

.timeline-detail-image.is-entering {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-detail-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .timeline-detail-image.is-animating,
    .timeline-detail-image.is-entering {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .timeline-node-dot,
    .timeline-node-year,
    .timeline-node-label {
        transition: none;
    }
}

@media (max-width: 768px) {
    .about-intro {
        padding: 3rem 0 1.5rem;
    }

    .about-intro h1 {
        font-size: 2rem;
    }

    .timeline-rail {
        justify-content: flex-start;
        padding: 0 0.5rem;
        gap: 0.25rem;
    }

    .timeline-node {
        min-width: 90px;
    }

    .timeline-detail {
        flex-direction: column;
        margin-top: 1.5rem;
        min-height: auto;
    }

    .timeline-detail-content {
        padding: 2rem 1.5rem 2rem 2.5rem;
    }

    .timeline-detail-image {
        width: 100%;
        min-height: 240px;
    }
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 769px) { .hero-content-left { margin-top: 0; } }

/* === NEWS === */


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

.news-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.news-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e8f5ee;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-img-inner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,60,30,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-img-inner svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

.news-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.news-card-date {
    font-size: 13px;
    color: var(--text-medium);
    font-weight: 600;
}

.news-card-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-color);
    background: #e8f5ee;
    padding: 3px 8px;
    border-radius: 4px;
}

.news-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.news-card-summary {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.65;
    flex: 1;
}

.news-card-read-more {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Article page */

.article-hero-img {
    width: 100%;
    aspect-ratio: 21 / 9;
    background: #e8f5ee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.article-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.article-hero-img-inner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0,60,30,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-hero-img-inner svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 13px;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

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

.breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb-sep {
    color: var(--text-light);
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 600;
}

.article-layout {
    max-width: 780px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 2rem;
}

.article-header h1 {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #3a3a3a;
}

.article-body p {
    margin-bottom: 1.4rem;
}

.article-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2.25rem;
    margin-bottom: 0.9rem;
}

.article-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 1.75rem;
    margin-bottom: 0.6rem;
}

.article-body ul,
.article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: #f5fdf8;
    border-radius: 0 8px 8px 0;
    font-size: 1.05rem;
    color: #2d4a38;
    font-style: italic;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.social-share-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-right: 0.25rem;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Lato', sans-serif;
}

.social-share-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f5fdf8;
}

.social-share-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.related-articles {
    padding-top: 3rem;
    margin-top: 1rem;
}

.related-articles-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 2rem;
}

.article-back-link:hover {
    text-decoration: underline;
}

.article-section {
    padding: 80px 0 100px;
}

.expo-article-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

.expo-article-left {
    min-width: 0;
}

.expo-article-right {
    position: sticky;
    top: 90px;
}

.expo-clipping {
    margin: 0;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    background: #f5f5f0;
}

.expo-clipping img {
    width: 100%;
    height: auto;
    display: block;
}

.expo-clipping figcaption {
    padding: 0.6rem 1rem;
    font-size: 12px;
    color: #888;
    text-align: center;
    background: #f5f5f0;
}

@media (max-width: 900px) {
    .expo-article-grid {
        grid-template-columns: 1fr;
    }
    .expo-article-right {
        position: static;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .article-header h1 {
        font-size: 1.65rem;
    }

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

    .article-hero-img {
        aspect-ratio: 16 / 9;
    }

    .article-section {
        padding: 60px 0 80px;
    }
}
.product-card-image{display:none;}

/* ============================================================
   IPHONE / MOBILE OPTIMISATION  (max-width: 768px / 430px)
   ============================================================ */

@media (max-width: 768px) {

    /* --- Nav: compact height on all phones --- */
    .nav-container {
        height: 64px;
        padding: 0 16px;
    }

    /* Hide nav CTA on mobile — it clips beside the hamburger */
    .nav-cta {
        display: none !important;
    }

    /* Mobile fly-out menu: align with new nav height */
    .nav-links {
        top: 64px !important;
    }

    /* Product pages: push content below compact nav */
    .product-block {
        margin-top: 64px;
        padding: 2rem 1.25rem;
    }

    /* Homepage hero: image on top, text block below */
    .hero {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        padding: 0;
        padding-top: 60px;
        background: #fff;
    }
    .hero::before {
        position: relative;
        display: block;
        inset: auto;
        width: 100%;
        height: 260px;
        flex-shrink: 0;
        transform: none;
        background-position: center 35%;
        filter: none;
    }
    .hero-overlay {
        display: none;
    }
    .hero::after {
        display: none;
    }
    .hero-content {
        position: relative;
        z-index: 2;
        padding: 1.5rem 1.25rem 2rem;
        max-width: 100%;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 1.55rem;
        color: #1a1a1a;
        text-shadow: none;
    }
    .hero-eyebrow {
        font-size: 11px;
        color: #003C1E;
        text-shadow: none;
    }
    .hero-sub {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        color: #444;
        text-shadow: none;
    }
    .hero-content-left {
        padding-left: 0;
    }

    /* Hero: show text first, image second on mobile */
    .page-hero-media {
        order: 2;
    }
    .page-hero-copy {
        order: 1;
    }


    /* Gallery images: reasonable height on phone */
    .biodiesel-gallery-grid img {
        height: 220px;
    }

    /* Proof bar: 2+2+1 layout */
    .proof-bar-items {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }

    /* Section padding: tighter */
    .trust-section { padding: 40px 0; }
    .trust-container h2 { font-size: 24px; margin-bottom: 24px; }
    .products-section { padding: 40px 0 !important; }
    .biodiesel-gallery { padding: 24px 0; }

    /* Inline products-grid override (trust/product sections) */
    .products-grid {
        grid-template-columns: 1fr !important;
    }

    /* Coatings card: full width on mobile */
    .product-card-coatings {
        max-width: 100% !important;
        grid-column: auto !important;
    }

    /* Footer columns: single stack */
    .footer-columns {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 430px) {

    /* --- Nav: iPhone-optimised --- */
    .nav-container {
        height: 60px;
    }
    .nav-links {
        top: 60px !important;
    }
    .product-block {
        margin-top: 60px;
        padding: 1.5rem 1rem;
    }

    /* Typography */
    .page-hero-copy h1 { font-size: 1.5rem; }
    .page-hero-copy p  { font-size: 0.95rem; }
    .trust-container h2 { font-size: 22px; }
    .products-header h2 { font-size: 22px; }

    /* Gallery: taller single-column image */
    .biodiesel-gallery-grid img { height: 240px; }
    .biodiesel-gallery-grid { gap: 0.75rem; }

    /* Proof bar: 2-col, smaller text */
    .proof-bar-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .proof-item .proof-value { font-size: 1.2rem; }
    .proof-item .proof-label { font-size: 0.7rem; }

    /* Product cards: comfortable padding */
    .product-card { padding: 0; }
    .product-card-content { padding: 1.25rem; }

    /* Section padding */
    .trust-section    { padding: 32px 0; }
    .trust-container  { padding: 0 16px; }
    .products-section { padding: 32px 0 !important; }
    .products-container { padding: 0 16px; }

    /* Footer */
    .footer-columns {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    /* About timeline: compact */
    .timeline-node { min-width: 80px; }
    .timeline-node-year  { font-size: 14px; }
    .timeline-node-label { font-size: 11px; }
    .timeline-detail-content { padding: 1.5rem 1rem 1.5rem 1.75rem; }
    .timeline-detail-image   { min-height: 200px; }

    /* About hero: readable heading */
    .about-hero-content h1 { font-size: 1.75rem; }

    /* About hero: show full team photo on mobile */
    .about-hero {
        height: auto;
        min-height: auto;
    }
    .about-hero-img {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center center;
        display: block;
    }
    .about-hero-overlay {
        display: none;
    }

    /* News grid: single col */
    .news-grid { grid-template-columns: 1fr; }

    /* Buttons: full width */
    .hero-buttons .btn { width: 100%; }
    .btn { min-height: 44px; }
}