body {
    font-family: Arial, sans-serif;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: #e8f5e9;
}

.logo-container {
    background-color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    max-width: 80%;
    height: auto;
    max-height: 100px;
}

.nav-container {
    background-color: white;
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow-x: auto;
    white-space: nowrap;
}

.nav-container a {
    color: #000000;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-container a:hover {
    color: #2b402c;
    background-color: #bfe3c0;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.main-content {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
}

.calculator {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.calculator h1 {
    color: #2b402c;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
    line-height: 1.2;
}

.input-group {
    margin-bottom: 20px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.input-group:hover {
    background-color: #f0f4f1;
    transform: translateY(-2px);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2b402c;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

input:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

button {
    background-color: #295e2b;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 10px;
    -webkit-appearance: none;
}

button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

#results {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

#results h2 {
    color: black;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
}

#summary {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.score-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.score {
    font-size: 3rem;
    font-weight: bold;
    color: #295e2b;
}

.score-label {
    font-size: 1.1rem;
    color: #666;
}

.feedback {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    background-color: #f0f4f1;
    color: #333;
}

.feedback p {
    margin: 10px 0;
    font-size: 14px;
}

.metrics {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.metric {
    text-align: center;
}

.metric span:first-child {
    color: #666;
    margin-right: 0.5rem;
}

.metric span:last-child {
    font-weight: 600;
    color: #333;
}

.examples-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.examples-title {
    color: #2b402c;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.example-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.example-button {
    flex: 0 1 auto;
    background-color: #f0f4f1;
    color: #295e2b;
    border: 1px solid #295e2b;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: auto;
    margin: 0;
}

.example-button:hover {
    background-color: #295e2b;
    color: white;
    transform: translateY(-1px);
}

.other-tools {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    text-align: center;
}

.other-tools h3 {
    color: #2b402c;
    font-size: 1.3em;
    margin-bottom: 20px;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.tool-link {
    background-color: #f0f4f1;
    color: #295e2b;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #295e2b;
}

.tool-link:hover {
    background-color: #295e2b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

@media (min-width: 768px) {
    .nav-container a {
        margin: 0 30px;
        font-size: 18px;
    }
    
    .logo {
        max-width: 300px;
    }
    
    .calculator {
        padding: 30px;
    }
    
    .main-content {
        padding: 0 20px;
    }
    
    .calculator h1 {
        font-size: 2.2em;
    }
    
    label {
        font-size: 16px;
    }
    
    button {
        font-size: 18px;
    }
    
    #results h2 {
        font-size: 1.8em;
    }
    
    #summary {
        padding: 20px;
    }
    
    .feedback p {
        font-size: 16px;
    }

    .examples-title {
        font-size: 16px;
    }
    
    .example-button {
        font-size: 15px;
    }

    .tools-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .other-tools h3 {
        font-size: 1.5em;
    }

    .tool-link {
        font-size: 16px;
        padding: 20px;
    }
}