/* Ecotracking - Brand Colors */
:root {
    --green: #2D7A2D;
    --green-dark: #1F5A1F;
    --blue: #1E5AAF;
    --blue-dark: #0D3A7A;
    --white: #FFFFFF;
    --gray-light: #F5F7FA;
    --gray: #6B7280;
    --gray-dark: #374151;
    --text: #1F2937;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Top Bar */
.top-bar {
    background: transparent;
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: background 0.3s ease;
}

.top-bar.scrolled {
    background: var(--blue);
}

.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.top-bar-link {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.top-bar-link:hover {
    opacity: 0.85;
}

.top-bar-link svg {
    fill: currentColor;
}

.top-bar.scrolled .top-bar-link {
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
    border-color: var(--blue);
}

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

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
    padding: 8px 20px;
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 32px;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    transition: background 0.3s ease;
    overflow: visible;
}

.header:hover,
.header.scrolled {
    background: var(--white);
}

.header:hover .nav a,
.header.scrolled .nav a {
    color: var(--text);
}

.header:hover .nav a:hover,
.header.scrolled .nav a:hover {
    color: var(--blue);
}

.header:hover .btn-outline,
.header.scrolled .btn-outline {
    color: var(--blue) !important;
    border-color: var(--blue) !important;
    background: transparent !important;
}

.header:hover .btn-outline:hover,
.header.scrolled .btn-outline:hover {
    background: var(--blue) !important;
    color: var(--white) !important;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: -75px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
    transition: color 0.3s;
}

.header:hover .logo-text,
.header.scrolled .logo-text,
.header-scrolled-static .logo-text {
    color: var(--blue);
}

/* Static scrolled header for inner pages */
.header-scrolled-static {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-scrolled-static .nav a {
    color: var(--gray-dark);
}

.header-scrolled-static .nav a:hover,
.header-scrolled-static .nav a.active {
    color: var(--blue);
}

.header-scrolled-static .btn-outline {
    border-color: var(--blue);
    color: var(--blue);
}

/* Page Hero for inner pages */
.page-hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    padding: 140px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

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

.page-hero .hero-detail {
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
}

/* CTA Section */
.cta-section {
    background: var(--blue);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--blue);
}

.cta-section .btn-primary:hover {
    background: var(--gray-light);
}

/* Industry Content Pages */
.industry-content {
    padding: 80px 0;
}

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

.industry-intro h2 {
    font-size: 2.2rem;
    color: var(--blue);
    margin-bottom: 20px;
}

.industry-intro p {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.8;
}

.industry-services {
    margin-bottom: 60px;
}

.industry-services h3,
.industry-features h3 {
    font-size: 1.8rem;
    color: var(--blue);
    margin-bottom: 30px;
    text-align: center;
}

.services-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.service-item h4 {
    font-size: 1.2rem;
    color: var(--blue);
    margin-bottom: 15px;
}

.service-item p {
    color: var(--text);
    line-height: 1.7;
}

.service-item .simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item .simple-list li {
    padding: 5px 0;
    color: var(--text);
}

.feature-list {
    max-width: 700px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 15px 0;
    padding-left: 35px;
    position: relative;
    border-bottom: 1px solid var(--gray-light);
    color: var(--text);
    line-height: 1.6;
}

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

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-list li strong {
    color: var(--blue);
}

/* Mission Page Styles */
.mission-page {
    padding: 80px 0;
    background: var(--white);
}

.mission-page-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-statement-large {
    background: var(--gray-light);
    padding: 50px;
    border-radius: 8px;
    margin-bottom: 60px;
    border-left: 5px solid var(--blue);
}

.mission-statement-large p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--gray-dark);
    font-style: italic;
    margin: 0;
}

.mission-story {
    margin-bottom: 60px;
}

.mission-story h2,
.mission-values-full h2,
.mission-commitment h2 {
    color: var(--blue);
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.mission-story p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.mission-values-full {
    margin-bottom: 60px;
}

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

.value-card {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 8px;
}

.value-card h3 {
    color: var(--blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--gray-dark);
    line-height: 1.7;
}

.mission-commitment p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.mission-commitment p:last-child {
    font-weight: 600;
    color: var(--blue);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    color: var(--white);
    font-weight: 600;
    transition: color 0.3s;
}

.nav a:hover {
    color: rgba(255,255,255,0.7);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 10px 0;
    margin-top: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-dark) !important;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

.nav-dropdown-menu a:hover {
    background: var(--gray-light);
    color: var(--blue) !important;
}

.btn-outline {
    color: var(--white) !important;
    border-color: var(--white) !important;
}

.btn-outline:hover {
    background: var(--white) !important;
    color: var(--blue) !important;
}

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

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

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

.hero-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Problem / Solution - Interactive Tabs */
.problem-solution {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.problem-solution .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.ps-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.ps-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 0;
}

.ps-tab-btn {
    flex: 1;
    max-width: 320px;
    padding: 24px 45px;
    border: none;
    background: var(--white);
    color: var(--gray);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    position: relative;
    top: 1px;
}

.ps-tab-btn:first-child {
    border-top-right-radius: 0;
}

.ps-tab-btn:last-child {
    border-top-left-radius: 0;
}

.ps-tab-btn .tab-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.ps-tab-btn[data-tab="problem"] .tab-icon {
    color: #DC2626;
}

.ps-tab-btn[data-tab="solution"] .tab-icon {
    color: var(--green);
}

.ps-tab-btn:hover {
    background: var(--white);
    color: var(--text);
}

.ps-tab-btn.active {
    background: var(--white);
    color: var(--text);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
}

.ps-tab-btn.active[data-tab="problem"] {
    border-top: 3px solid #DC2626;
}

.ps-tab-btn.active[data-tab="solution"] {
    border-top: 3px solid var(--green);
}

.ps-tab-content {
    background: var(--white);
    border-radius: 12px;
    border-top-left-radius: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.ps-tab-panel {
    display: none;
    padding: 40px;
    animation: fadeInTab 0.4s ease;
    position: relative;
}

.ps-tab-panel.active {
    display: block;
}

#problem-panel {
    position: relative;
    overflow: hidden;
}

#problem-panel::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: url('problempic.jpg') center/cover no-repeat;
    filter: contrast(1.1) saturate(1.1);
    z-index: 0;
}

#problem-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 38, 38, 0.25);
    z-index: 0;
}

#problem-panel > * {
    position: relative;
    z-index: 1;
}

#solution-panel {
    position: relative;
    overflow: hidden;
}

#solution-panel::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: url('solutionpic.jpg') center/cover no-repeat;
    filter: contrast(1.1) saturate(1.1);
    z-index: 0;
}

#solution-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 122, 45, 0.25);
    z-index: 0;
}

#solution-panel > * {
    position: relative;
    z-index: 1;
}

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

.panel-header h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.panel-header {
    text-align: center;
}

.panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 20px;
}

.panel-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.problem-list li {
    background: transparent;
    border-left: 3px solid var(--white);
}

.problem-list li:hover {
    transform: translateX(5px);
}

.solution-list li {
    background: transparent;
    border-left: 3px solid var(--white);
}

.solution-list li:hover {
    transform: translateX(5px);
}



.panel-list li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.panel-list li p {
    color: var(--white);
    margin: 0;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 70px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-img {
    flex: 1;
    min-width: 0;
}

.feature-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
}

.feature-text {
    flex: 1;
    min-width: 0;
}

.feature-text h3 {
    font-size: 1.8rem;
    color: var(--blue);
    margin-bottom: 20px;
}

.feature-text h3 a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature-text h3 a:hover {
    color: var(--green);
}

.feature-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.feature-text li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.feature-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

.feature-text .learn-more {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.feature-text .learn-more:hover {
    color: var(--green);
}

.feature-text .learn-more::after {
    content: "→";
}

/* Feature Strip */
.feature-strip {
    background: var(--blue);
    padding: 35px 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 90% 100%, 0 70%);
    margin-top: -30px;
}

.strip-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.strip-items span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Who Section */
.who-section {
    padding: 80px 0;
    background: var(--white);
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.who-card {
    background: var(--white);
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.who-card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.who-card h3 {
    font-size: 1rem;
    line-height: 1.4;
    padding: 20px 15px;
    color: var(--text);
}

.who-note {
    text-align: center;
    color: var(--gray);
    font-style: italic;
}

/* Why Section */
.why-section {
    padding: 80px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    text-align: center;
    padding: 30px;
}

.why-card h3 {
    color: var(--blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.why-card p {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background: var(--white);
}

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

.mission-statement {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 50px;
    font-style: italic;
    border-left: 4px solid var(--blue);
    padding-left: 30px;
    text-align: left;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.mission-value {
    text-align: center;
}

.mission-value h4 {
    color: var(--blue);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.mission-value p {
    color: var(--gray-dark);
    line-height: 1.6;
}

.mission .learn-more {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.mission .learn-more::after {
    content: "→";
}

.mission .learn-more:hover {
    color: var(--green);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    text-align: center;
}

.founder-img {
    width: 200px;
    height: auto;
    border-radius: 8px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--blue);
    margin-bottom: 10px;
}

.founder-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 25px;
}

.about-text p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
    font-style: italic;
    border-left: 3px solid var(--blue);
    padding-left: 20px;
}

/* Contact */
.contact {
    padding: 100px 0 80px;
    background: var(--white);
    clip-path: polygon(0 5%, 15% 0, 100% 0, 100% 100%, 0 100%);
    margin-top: -20px;
}

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

.contact-info {
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
}

.contact-note {
    color: var(--gray-dark);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item strong {
    display: block;
    color: var(--gray-dark);
    margin-bottom: 3px;
}

.contact-item a {
    color: var(--blue);
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: var(--green);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 14px 18px;
    border: 2px solid #E5E7EB;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--blue);
}

.contact-form button {
    align-self: flex-start;
}

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

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 40px;
    align-items: start;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 2px;
}

.footer-logo {
    height: 40px;
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.4rem;
}

.footer-tagline {
    max-width: 300px;
}

.footer-tagline p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: right;
}

.footer-contact a:hover {
    color: var(--green);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Septage Management Dashboard Infographic */
.dashboard-section {
    padding: 10px 0 40px;
    background: var(--white);
}

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

.dashboard-intro h2 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 8px;
}

.dashboard-intro p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
}

.dashboard-card {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 32px;
    background: var(--white);
    border: 1px solid #E5E7EB;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dashboard-tile {
    background: var(--white);
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
    border: 1px solid #E5E7EB;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dashboard-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.dashboard-tile.tile-highlight-teal {
    border: 2px solid #0891B2;
    background: linear-gradient(180deg, #F0FDFA 0%, var(--white) 100%);
}

.dashboard-tile.tile-highlight-blue {
    border: 2px solid var(--blue);
    background: linear-gradient(180deg, #EFF6FF 0%, var(--white) 100%);
}

.tile-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-icon.tile-blue { background: rgba(30, 90, 175, 0.1); }
.tile-icon.tile-blue svg { stroke: var(--blue); }
.tile-icon.tile-green { background: rgba(45, 122, 45, 0.1); }
.tile-icon.tile-green svg { stroke: var(--green); }
.tile-icon.tile-teal { background: rgba(8, 145, 178, 0.1); }
.tile-icon.tile-teal svg { stroke: #0891B2; }
.tile-icon.tile-yellow { background: rgba(234, 179, 8, 0.1); }
.tile-icon.tile-yellow svg { stroke: #CA8A04; }
.tile-icon.tile-gray { background: rgba(107, 114, 128, 0.1); }
.tile-icon.tile-gray svg { stroke: var(--gray); }
.tile-icon.tile-red { background: rgba(239, 68, 68, 0.1); }
.tile-icon.tile-red svg { stroke: #EF4444; }
.tile-icon.tile-blue-light { background: rgba(59, 130, 246, 0.1); }
.tile-icon.tile-blue-light svg { stroke: #3B82F6; }

.tile-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.tile-desc {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

.tile-btn {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: default;
    pointer-events: none;
    margin-top: auto;
}

.tile-btn-blue { background: var(--blue); color: var(--white); }
.tile-btn-green { background: var(--green); color: var(--white); }
.tile-btn-teal { background: #0891B2; color: var(--white); }
.tile-btn-dark { background: var(--gray-dark); color: var(--white); }
.tile-btn-red { background: #EF4444; color: var(--white); }
.tile-btn-outline {
    background: var(--white);
    color: var(--gray-dark);
    border: 1px solid #E5E7EB;
}

.tile-btn-group {
    display: flex;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
    justify-content: center;
}

/* Septic System Estimator Infographic */
.estimator-section {
    padding: 40px 0;
    background: var(--white);
}

.estimator-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.estimator-intro h2 {
    font-size: 2.2rem;
    color: var(--blue);
    margin-bottom: 15px;
}

.estimator-intro p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
}

.estimator-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
}

.estimator-header {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

.estimator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-bottom: 1px solid #E5E7EB;
}

.estimator-panel {
    padding: 24px;
    border-right: 1px solid #E5E7EB;
}

.estimator-panel:last-child {
    border-right: none;
}

.est-panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue);
}

.est-panel-title svg {
    stroke: var(--blue);
    flex-shrink: 0;
}

.est-field {
    margin-bottom: 14px;
}

.est-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.field-value {
    padding: 10px 14px;
    background: var(--gray-light);
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.field-empty { color: var(--gray); }

.field-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
}

.select-arrow { font-size: 0.6rem; color: var(--gray); }

.field-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 10px 0;
}

.checkbox-box {
    width: 18px;
    height: 18px;
    border: 2px solid #E5E7EB;
    border-radius: 4px;
    display: inline-block;
    background: var(--white);
}

.est-field-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.est-field.half { flex: 1; margin-bottom: 0; }

.estimator-actions {
    padding: 20px 28px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.estimator-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    cursor: default;
    pointer-events: none;
}

/* Cost Estimate Breakdown */
.cost-breakdown-section {
    padding: 40px 0 80px;
    background: var(--white);
}

.cost-breakdown-card {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.cost-breakdown-header {
    background: linear-gradient(135deg, #D97706, #F59E0B);
    color: var(--white);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

.cost-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 28px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #E5E7EB;
}

.cost-item:nth-last-child(-n+2) { border-bottom: none; }

.cost-label { font-size: 0.95rem; color: var(--gray-dark); font-weight: 500; }
.cost-value { font-size: 1rem; color: var(--text); font-weight: 700; }

.cost-total {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    padding: 22px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cost-total-label { font-size: 1.15rem; color: var(--white); font-weight: 700; }
.cost-total-value { font-size: 1.6rem; color: var(--white); font-weight: 700; }

/* Biosolids Infographics */
.bio-infographic-section {
    padding: 10px 0 40px;
    background: var(--white);
}

.bio-infographic-section:first-of-type {
    padding-top: 40px;
}

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

.bio-infographic-intro h2 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 8px;
}

.bio-infographic-intro p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
}

.bio-infographic-card {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: var(--white);
    border: 1px solid #E5E7EB;
}

.bio-card-header {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: var(--white);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.bio-card-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.bio-header-btns {
    display: flex;
    gap: 8px;
}

.bio-btn {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: default;
    pointer-events: none;
}

.bio-btn-green { background: #16A34A; color: var(--white); }
.bio-btn-dark { background: var(--gray-dark); color: var(--white); }
.bio-btn-blue { background: var(--blue); color: var(--white); }
.bio-btn-gray { background: #6B7280; color: var(--white); }

.bio-notice {
    background: #FEF9C3;
    border: 1px solid #FDE68A;
    padding: 16px 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--gray-dark);
    line-height: 1.5;
}

.bio-notice-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bio-filter-section {
    padding: 24px;
}

.bio-filter-header {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 6px;
    margin-bottom: 20px;
}

.bio-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.bio-filter-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 6px;
}

.bio-field-select,
.bio-field-input {
    background: var(--white);
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bio-field-date .date-icon {
    font-size: 0.9rem;
    opacity: 0.5;
}

.bio-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Biosolids Table */
.bio-table-wrapper {
    overflow-x: auto;
    padding: 24px;
}

.bio-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #E5E7EB;
    font-size: 0.85rem;
}

.bio-table thead th {
    background: #F9FAFB;
    color: var(--gray-dark);
    font-weight: 700;
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #E5E7EB;
    font-size: 0.82rem;
}

.bio-table tbody td {
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #E5E7EB;
    vertical-align: middle;
}

.bio-field-sm {
    padding: 7px 10px;
    font-size: 0.8rem;
    min-width: 70px;
}

.bio-table-actions {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.bio-action-mimic {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: default;
}

.bio-action-clear {
    color: #EF4444;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: default;
}

/* Product Tracking: Pickup Scheduling */
.pickup-filter-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.pickup-filter-row .bio-filter-field {
    flex: 0 1 260px;
}

.pickup-schedule-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.pickup-view-toggle {
    display: flex;
    gap: 4px;
}

.pickup-view-btn {
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.15);
    cursor: default;
}

.pickup-view-btn.active {
    background: rgba(255,255,255,0.3);
    color: var(--white);
}

.pickup-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.pickup-status-scheduled {
    background: #DEF7EC;
    color: #03543F;
}

.pickup-status-pending {
    background: #FEF3C7;
    color: #92400E;
}

/* Product Tracking: Live Device Locations Map */
.map-last-update {
    font-size: 0.82rem;
    font-weight: 400;
    opacity: 0.85;
}

.map-card-body {
    position: relative;
}

.map-toggle-bar {
    display: flex;
    background: var(--white);
    border-bottom: 1px solid #E5E7EB;
}

.map-toggle-btn {
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    cursor: default;
    border-bottom: 3px solid transparent;
}

.map-toggle-btn.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.map-placeholder {
    width: 100%;
    overflow: hidden;
}

.map-bg {
    width: 100%;
    background: #E8F0E8;
}

.map-svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 1100px) {
    .features-grid.four-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .who-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .estimator-panel:nth-child(2) {
        border-right: none;
    }

    .estimator-panel:nth-child(3) {
        grid-column: 1 / -1;
        border-right: none;
        border-top: 1px solid #E5E7EB;
    }

    .bio-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .header {
        padding-top: 0;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-toggle {
        display: flex;
    }

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

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .feature-img img {
        height: 250px;
    }

    .feature-text h3 {
        font-size: 1.5rem;
    }

    .feature-strip {
        clip-path: none;
        margin-top: 0;
    }

    .contact {
        clip-path: none;
        margin-top: 0;
    }

    .features-grid,
    .features-grid.four-col,
    .who-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Problem/Solution Tabs Mobile */
    .ps-tab-buttons {
        flex-direction: column;
        gap: 0;
    }

    .ps-tab-btn {
        max-width: 100%;
        border-radius: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .ps-tab-btn:first-child {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .ps-tab-btn.active[data-tab="problem"],
    .ps-tab-btn.active[data-tab="solution"] {
        border-top: none;
        border-left: 3px solid;
    }

    .ps-tab-btn.active[data-tab="problem"] {
        border-left-color: #DC2626;
    }

    .ps-tab-btn.active[data-tab="solution"] {
        border-left-color: var(--green);
    }

    .ps-tab-content {
        border-top-left-radius: 0;
        border-radius: 0 0 12px 12px;
    }

    .ps-tab-panel {
        padding: 25px 20px;
    }

    .panel-header h3 {
        font-size: 1.3rem;
    }

    .panel-list li {
        padding: 15px;
    }

    .contact-info {
        padding: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text p:last-child {
        text-align: left;
    }

    .mission-values {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .mission-statement-large {
        padding: 30px;
    }

    .mission-statement-large p {
        font-size: 1.2rem;
    }

    /* Mobile dropdown */
    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin: 10px 0;
    }

    .nav-dropdown-menu a {
        padding: 8px 15px;
        color: var(--gray-dark) !important;
    }

    .strip-items {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-tagline {
        max-width: 100%;
    }

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

    /* Dashboard, Estimator & Cost Breakdown responsive */
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-intro h2 {
        font-size: 1.6rem;
    }

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

    .estimator-panel {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
    }

    .estimator-panel:last-child {
        border-bottom: none;
    }

    .estimator-intro h2 {
        font-size: 1.6rem;
    }

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

    .cost-total {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 20px 28px;
    }

    .bio-filter-grid {
        grid-template-columns: 1fr;
    }

    .bio-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bio-header-btns {
        flex-wrap: wrap;
    }

    .bio-table-wrapper {
        padding: 12px;
    }

    .bio-infographic-intro h2 {
        font-size: 1.6rem;
    }

    .pickup-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .pickup-filter-row .bio-filter-field {
        flex: 1 1 100%;
    }

    .pickup-schedule-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }
}

