:root {
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #81c784;
    --secondary: #0277bd;
    --secondary-light: #58a5f0;
    --accent: #ff8f00;
    --dark: #263238;
    --light: #f5f5f5;
    --gray: #607d8b;
    --error: #c62828;
    --success: #2e7d32;
    --border-radius: 12px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

.main-container {
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
    background-color: #f5f7f6;
    line-height: 1.6;
    min-height: 100vh;
    padding: 0;
}

.container {
    width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

.header-title {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.header-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Q50,80 0,100 L0,0 Z"></path></svg>');
    background-size: 100% 100%;
    opacity: 0.3;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn i {
    margin-right: 8px;
}

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

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

.btn-accent {
    background-color: var(--accent);
}

.btn-accent:hover {
    background-color: #ff6f00;
}

.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
}

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

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.card-header i {
    font-size: 1.5rem;
    margin-right: 15px;
}

.card-header h3 {
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}

.progress-container {
    width: 100%;
    margin: 40px 0;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
}

.progress-steps::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e0e0e0;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background-color: var(--primary);
    transform: translateY(-50%);
    z-index: 2;
    transition: width 0.4s ease;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: var(--transition);
}

.step.active .step-number {
    background-color: var(--primary);
    color: white;
}

.step.completed .step-number {
    background-color: var(--success);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.step.completed .step-label {
    color: var(--success);
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.results-container {
    text-align: center;
    padding: 40px 0;
}

.carbon-footprint {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
}

.comparison-chart {
    max-width: 800px;
    margin: 40px auto;
}

.equivalents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.equivalent-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
}

.equivalent-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 20px;
}

.equivalent-text {
    text-align: left;
}

.equivalent-text h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.recommendations {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.recommendation-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.recommendation-icon {
    color: var(--success);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 3px;
}

.info-section {
    background-color: #e8f5e9;
    padding: 60px 0;
    margin: 60px 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}



.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: var(--success);
    color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.notification.show {
    transform: translateX(0);
}

.notification i {
    margin-right: 10px;
}

.print-btn {
    margin: 30px auto;
    display: block;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .carbon-footprint {
        font-size: 2.5rem;
    }

    .progress-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .progress-steps::before, .progress-bar {
        display: none;
    }

    .step {
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 15px;
    }
}

@media print {
    header, .navigation-buttons, footer {
        display: none;
    }

    .card {
        box-shadow: none;
        border: 1px solid #e0e0e0;
        page-break-inside: avoid;
    }

    .carbon-footprint {
        color: black;
    }
}


/* ===== ARTICLE SPECIFIC STYLES - NO BODY STYLES ===== */
#carbon-guide-article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem 1.5rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Hero Section */
.carbon-guide-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  border-radius: 32px;
  box-shadow: 0 12px 30px rgba(46, 125, 50, 0.3);
}

.carbon-guide-hero h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  font-family: 'Montserrat', serif;
}

.carbon-guide-hero .carbon-hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

.carbon-guide-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.carbon-guide-meta span i {
  margin-right: 0.5rem;
}

/* Main Content */
.carbon-main-content {
  background: white;
  border-radius: 28px;
  padding: 2rem 2rem 2.5rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.15);
}

.carbon-main-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #2e7d32;
  border-left: 5px solid #81c784;
  padding-left: 1rem;
  font-family: 'Montserrat', serif;
}

.carbon-main-content h2:first-of-type {
  margin-top: 0;
}

.carbon-main-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  color: #2e7d32;
}

.carbon-main-content p {
  font-size: 1.05rem;
  color: #2d3748;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.carbon-main-content ul, .carbon-main-content ol {
  margin: 1rem 0 1.2rem 1.8rem;
  color: #2d3748;
  line-height: 1.6;
}

.carbon-main-content li {
  margin-bottom: 0.5rem;
}

.carbon-highlight-box {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(129, 199, 132, 0.05));
  border-left: 6px solid #81c784;
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  margin: 1.75rem 0;
}

.carbon-pro-tip {
  background: rgba(129, 199, 132, 0.1);
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid rgba(46, 125, 50, 0.3);
}

.carbon-pro-tip i {
  font-size: 1.8rem;
  color: #2e7d32;
}

.carbon-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}

.carbon-stat-card {
  background: #f5f7f6;
  border-radius: 20px;
  padding: 1.2rem;
  text-align: center;
  transition: all 0.2s;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.carbon-stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #2e7d32;
  margin-bottom: 0.25rem;
}

.carbon-quote-block {
  background: #f5f7f6;
  padding: 1.5rem;
  border-radius: 24px;
  text-align: center;
  font-style: italic;
  margin: 1.5rem 0;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.carbon-quote-block i {
  font-size: 2rem;
  color: #2e7d32;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.carbon-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.carbon-emissions-table {
  width: 100%;
  border-collapse: collapse;
  background: #f5f7f6;
  border-radius: 16px;
  overflow: hidden;
}

.carbon-emissions-table th, .carbon-emissions-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(46, 125, 50, 0.2);
}

.carbon-emissions-table th {
  background: rgba(46, 125, 50, 0.1);
  font-weight: 600;
  color: #2e7d32;
}

.carbon-emissions-table tr:hover {
  background: rgba(129, 199, 132, 0.05);
}

/* Action Cards */
.carbon-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.carbon-action-card {
  background: #f5f7f6;
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid rgba(46, 125, 50, 0.2);
  transition: all 0.2s;
}

.carbon-action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.1);
}

.carbon-action-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #2e7d32;
}

.carbon-action-title {
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.carbon-footer-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #718096;
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .carbon-guide-hero h2 {
    font-size: 2rem;
  }
  .carbon-main-content {
    padding: 1.5rem;
  }
  #carbon-guide-article {
    padding: 1rem;
  }
}