/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    background: #2c5530;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5530;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2c5530;
    background: rgba(44, 85, 48, 0.1);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: #666;
}

.breadcrumb a {
    color: #2c5530;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.lead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-calculate, .btn-reset {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #2c5530;
    color: white;
}

.btn-primary:hover {
    background: #1e3a21;
    transform: translateY(-2px);
}

.hero .btn-primary {
    background: #fff;
    color: #2c5530;
}

.hero .btn-primary:hover {
    background: #f0f0f0;
}

.btn-secondary {
    background: transparent;
    color: #2c5530;
    border: 2px solid #2c5530;
}

.btn-secondary:hover {
    background: #2c5530;
    color: white;
}

.hero .btn-secondary {
    color: white;
    border-color: white;
}

.hero .btn-secondary:hover {
    background: white;
    color: #2c5530;
}

.btn-calculate {
    background: #2c5530;
    color: white;
    width: 100%;
    margin-top: 1rem;
}

.btn-calculate:hover {
    background: #1e3a21;
}

.btn-reset {
    background: #6c757d;
    color: white;
    width: 100%;
    margin-top: 0.5rem;
}

.btn-reset:hover {
    background: #545b62;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Calculator Section */
.calculator-section {
    padding: 4rem 0;
    background: white;
}

.calculator-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c5530;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c5530;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: #2c5530;
}

.project-type, .gravel-type, .mulch-type, .soil-type {
    margin-bottom: 1.5rem;
}

.project-type label, .gravel-type label, .mulch-type label, .soil-type label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c5530;
}

.project-type select, .gravel-type select, .mulch-type select, .soil-type select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.depth-suggestion, .depth-info {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

.calculator-results {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
}

.result-box h3 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.result-primary {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.result-primary h4 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.result-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.result-value .value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c5530;
}

.result-value .unit {
    font-size: 1.2rem;
    color: #666;
}

.result-details h5 {
    color: #2c5530;
    margin: 1rem 0 0.5rem 0;
}

.result-details ul {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.result-details li {
    margin-bottom: 0.25rem;
}

.result-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.result-actions button {
    padding: 8px 16px;
    background: #2c5530;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.result-actions button:hover {
    background: #1e3a21;
}

.error-message {
    text-align: center;
    padding: 1rem;
    background: #f8d7da;
    border-radius: 6px;
    margin: 1rem 0;
}

/* Info Section */
.info-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.info-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c5530;
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.info-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.info-text ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.info-text li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* 3D Cube Visual */
.cube-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    perspective: 1000px;
}

.cube {
    position: relative;
    width: 150px;
    height: 150px;
    transform-style: preserve-3d;
    animation: rotate 10s infinite linear;
}

.face {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(44, 85, 48, 0.8);
    border: 2px solid #2c5530;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

.front { transform: rotateY(0deg) translateZ(75px); }
.back { transform: rotateY(180deg) translateZ(75px); }
.right { transform: rotateY(90deg) translateZ(75px); }
.left { transform: rotateY(-90deg) translateZ(75px); }
.top { transform: rotateX(90deg) translateZ(75px); }
.bottom { transform: rotateX(-90deg) translateZ(75px); }

@keyframes rotate {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* Use Cases Section */
.use-cases {
    padding: 4rem 0;
    background: white;
}

.use-cases h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c5530;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.use-case {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.use-case:hover {
    transform: translateY(-5px);
}

.use-case h3 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.use-case p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.use-case a {
    color: #2c5530;
    text-decoration: none;
    font-weight: 600;
}

.use-case a:hover {
    text-decoration: underline;
}

/* Steps Section */
.steps-section {
    margin: 3rem 0;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-number {
    background: #2c5530;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.step-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-content ul {
    margin-left: 1rem;
}

.tip {
    background: #e8f5e8;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #2c5530;
    margin-top: 1rem;
}

/* Examples Section */
.examples-section {
    margin: 3rem 0;
}

.example {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.example h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.example-content ul {
    margin-left: 1rem;
}

.example-content li {
    margin-bottom: 0.5rem;
}

/* Formula Styles */
.basic-formula {
    margin: 3rem 0;
    text-align: center;
}

.formula-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border: 2px solid #2c5530;
}

.formula {
    font-size: 1.5rem;
    color: #2c5530;
    font-weight: bold;
    margin-bottom: 1rem;
}

.formula-note {
    color: #666;
    font-style: italic;
}

.formula-grid, .conversion-grid, .material-grid, .advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.formula-card, .conversion-card, .material-card, .advanced-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.formula-card h3, .conversion-card h3, .material-card h3, .advanced-card h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.formula-card .formula, .conversion-card .formula, .material-card .formula, .advanced-card .formula {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    font-family: monospace;
    font-size: 1.1rem;
    color: #2c5530;
    margin: 1rem 0;
    border: 1px solid #ddd;
}

.example {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Conversion Table */
.conversion-table {
    margin: 2rem 0;
}

.conversion-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.conversion-table th,
.conversion-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.conversion-table th {
    background: #2c5530;
    color: white;
    font-weight: 600;
}

.conversion-table tr:hover {
    background: #f8f9fa;
}

/* FAQ Section */
.faq-section {
    margin: 3rem 0;
    padding: 3rem 0;
    background: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5530;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-item h3 {
    background: #2c5530;
    color: white;
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-item h3:hover {
    background: #1e3a21;
}

.faq-answer {
    padding: 1.5rem;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.faq-answer ul {
    margin-left: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Category Navigation */
.faq-categories {
    margin-bottom: 2rem;
    text-align: center;
}

.category-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-btn.active,
.category-btn:hover {
    background: #2c5530;
    color: white;
    border-color: #2c5530;
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
}

/* Materials Section */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.material-calculator {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.material-calculator:hover {
    transform: translateY(-5px);
}

.material-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.material-calculator h2 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.material-calculator p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.material-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.material-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.material-features li:before {
    content: "✓";
    color: #2c5530;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Info Cards */
.info-grid, .gravel-types-grid, .soil-types-grid, .benefits-grid, .tips-grid, .features-grid, .audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card, .gravel-card, .soil-card, .benefit-card, .tip-card, .feature-card, .audience-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-card h3, .gravel-card h3, .soil-card h3, .benefit-card h3, .tip-card h3, .feature-card h3, .audience-card h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.info-card ul, .gravel-card ul, .soil-card ul {
    list-style: none;
    margin-left: 0;
}

.info-card li, .gravel-card li, .soil-card li {
    padding: 0.25rem 0;
}

/* Comparison Table */
.material-comparison {
    margin: 3rem 0;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.comparison-table th {
    background: #2c5530;
    color: white;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

/* Contact Form */
.contact-form-section {
    margin: 3rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c5530;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5530;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Info */
.contact-info, .contact-methods {
    margin: 3rem 0;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-method {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-method h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.contact-method a {
    color: #2c5530;
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Help Resources */
.help-resources, .resources-grid {
    margin: 3rem 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.resource-card h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.resource-card a {
    color: #2c5530;
    text-decoration: none;
    font-weight: 600;
}

.resource-card a:hover {
    text-decoration: underline;
}

/* Legal Pages */
.privacy-section, .terms-section {
    margin: 3rem 0;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.privacy-section h2, .terms-section h2 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.privacy-section h3, .terms-section h3 {
    color: #2c5530;
    margin: 1.5rem 0 1rem 0;
}

.privacy-section ul, .terms-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li, .terms-section li {
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem 0;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 3rem 0;
}

.cta-section h2 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #2c5530;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

/* Cost Section */
.cost-section {
    margin: 3rem 0;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cost-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.cost-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cost-results {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.cost-breakdown h4 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.cost-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.cost-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #2c5530;
    font-size: 1.1rem;
}

.cost-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2c5530;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        align-self: flex-start;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cost-calculator {
        grid-template-columns: 1fr;
    }
    
    .category-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .calculator-section {
        padding: 2rem 0;
    }
    
    .calculator-form, .calculator-results {
        padding: 1.5rem;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .nav-brand {
        gap: 5px;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
}