html {
    scroll-behavior: smooth;
}

#mainNav {
    background: #1e1e2f;
}

.hero {
    height: 100vh;
    background: linear-gradient(to bottom right, #0077ff, #00d4ff);
}

.section {
    padding: 80px 0;
}

.section-title {
    font-weight: 600;
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.15);
}

.btn-calculate {
    background: #099c3d;
    border: none;
    padding: 12px 40px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-calculate:hover {
    background: #018630;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-reset {
    background: #e54141;
    border: none;
    padding: 12px 40px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-reset:hover {
    background: #ff0000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.result-card {
    background: rgba(134, 142, 150, 0.65);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    color: white;
    margin-top: 25px;
    display: none;
    animation: fadeIn 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.result-card.show {
    display: block;
}

.result-card h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.result-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-option {
    flex: 1;
    min-width: 150px;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option label {
    display: block;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

.radio-option input[type="radio"]:checked+label {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.radio-option label:hover {
    border-color: #3498db;
}