body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f5f7fa;
    color: #333;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
}

h1, h2, h3 {
    color: #2c3e50;
}

h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.sub-headline {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: #555;
}

.highlight-red {
    color: #e74c3c;
    font-weight: bold;
}

.highlight-green {
    color: #2ecc71;
    font-weight: bold;
}

#question-container {
    margin-bottom: 2rem;
}

#answer-options {
    display: flex;
    flex-direction: column;
}

button {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    font-size: 1rem;
}

button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

#progress-bar {
    width: 100%;
    height: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
    margin-top: 2rem;
    overflow: hidden;
}

#progress {
    width: 0;
    height: 100%;
    background-color: #2ecc71;
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.result-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.result-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #3498db;
    display: flex;
    align-items: center;
}

.result-card h3 i {
    margin-right: 0.5rem;
    font-size: 1.2em;
}

.result-card p {
    margin: 0.5rem 0;
}

.monthly-cost {
    font-size: 1.2em;
    font-weight: bold;
    padding: 0.5rem;
    border-radius: 5px;
    display: inline-block;
}

.monthly-cost.current-cost {
    color: #e74c3c;
    background-color: #f9e7e7;
}

.monthly-cost.savings {
    color: #2ecc71;
    background-color: #e8f8f5;
}

.result-card.highlight {
    background-color: #3498db;
    color: white;
}

.result-card.highlight h3 {
    color: #ecf0f1;
}

.call-to-action {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f39c12;
    border-radius: 10px;
    color: white;
}

.call-to-action h3 {
    margin-bottom: 1rem;
    color: white;
}

#call-now-btn {
    background-color: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#call-now-btn:hover {
    background-color: #c0392b;
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
        max-width: 100%;
        border-radius: 0;
    }

    .results-container {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.5rem;
    }

    .sub-headline {
        font-size: 1rem;
    }

    button {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .result-card {
        padding: 1rem;
    }

    .monthly-cost {
        font-size: 1em;
    }
}

/* Prevent text size adjustment on orientation change */
html {
    -webkit-text-size-adjust: 100%;
}
