.age-calculator {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2rem auto;
}

.inputs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.input-group input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    font-size: 1rem;
}

#calculate-btn {
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

#calculate-btn:hover {
    background-color: #0056b3;
}

.result {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #333;
    text-align: center;
}

.instructions {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    width: 100%;
}

.instructions h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #007bff;
}

.lang-instructions {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.english, .urdu {
    flex: 1;
}

.english h3, .urdu h3 {
    margin-bottom: 0.5rem;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.25rem;
}

.english p, .urdu p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}
